## SPDX-License-Identifier: GPL-2.0-only

config SOC_ROCKCHIP_RK3399
	bool
	default n
	select ARCH_BOOTBLOCK_ARMV8_64
	select ARCH_RAMSTAGE_ARMV8_64
	select ARCH_ROMSTAGE_ARMV8_64
	select ARCH_VERSTAGE_ARMV8_64
	select ARM64_USE_ARM_TRUSTED_FIRMWARE
	select DRIVERS_UART_8250MEM_32
	select GENERIC_GPIO_LIB
	select UART_OVERRIDE_REFCLK
	select HAVE_LINEAR_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT
	select COMPRESS_BOOTBLOCK

if SOC_ROCKCHIP_RK3399

config MEMLAYOUT_LD_FILE
	string
	default "src/soc/rockchip/rk3399/memlayout.ld"

config VBOOT
	select VBOOT_SEPARATE_VERSTAGE
	select VBOOT_RETURN_FROM_VERSTAGE
	select VBOOT_MUST_REQUEST_DISPLAY
	select VBOOT_STARTS_IN_BOOTBLOCK

config PMIC_BUS
	int
	default -1

config RK3399_SPREAD_SPECTRUM_DDR
	bool "Spread-spectrum DDR clock"
	default n
	help
	  Select Spread Spectrum Modulator (SSMOD) is a fully-digital circuit
	  used to modulate the frequency of the Silicon Creations' Fractional
	  PLL in order to reduce EMI.

endif