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

config SOC_MEDIATEK_MT8183
	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 HAVE_DEBUG_RAM_SETUP
	select HAVE_UART_SPECIAL
	select COMPRESS_BOOTBLOCK
	select SOC_MEDIATEK_COMMON

if SOC_MEDIATEK_MT8183

config MEMLAYOUT_LD_FILE
	string
	default "src/soc/mediatek/mt8183/memlayout.ld"

config VBOOT
	select VBOOT_MUST_REQUEST_DISPLAY
	select VBOOT_STARTS_IN_BOOTBLOCK
	select VBOOT_SEPARATE_VERSTAGE
	select VBOOT_RETURN_FROM_VERSTAGE

config MT8183_DRAM_EMCP
	bool
	default n
	help
	  The eMCP platform should select this option to run at different DRAM
	  frequencies.

config MT8183_DRAM_DVFS
	bool
	default y
	help
	  This options enables DRAM calibration with multiple frequencies (low,
	  medium and high) for DVFS feature.

config SSPM_FIRMWARE
	string
	default "sspm.bin"
	help
	  The file name of the MediaTek SSPM firmware.


endif