summaryrefslogtreecommitdiff
path: root/src/soc/mediatek
diff options
context:
space:
mode:
authorYidi Lin <yidi.lin@mediatek.com>2021-03-19 16:52:57 +0800
committerHung-Te Lin <hungte@chromium.org>2021-05-18 07:06:52 +0000
commitdf3380c9db88fce666456c53e16064854804bab9 (patch)
tree2daab1a9bb0db0211645ea31a9db672634fd7fe6 /src/soc/mediatek
parent806892a347e2cc0f94a224e994c0a94c2ab720e9 (diff)
soc/mediatek/mt8195: enable ARM64_USE_ARM_TRUSTED_FIRMWARE
Enable ATF configuration to support multi-core. TEST=boot to kernel with multi-core support. BUG=b:177593590 Signed-off-by: Yidi Lin <yidi.lin@mediatek.com> Change-Id: Id1ef29894fa3a6022574c3874dee62617133b12c Reviewed-on: https://review.coreboot.org/c/coreboot/+/53898 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r--src/soc/mediatek/mt8195/Kconfig1
-rw-r--r--src/soc/mediatek/mt8195/Makefile.inc2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8195/Kconfig b/src/soc/mediatek/mt8195/Kconfig
index 203e9251a0..a1247aba16 100644
--- a/src/soc/mediatek/mt8195/Kconfig
+++ b/src/soc/mediatek/mt8195/Kconfig
@@ -5,6 +5,7 @@ config SOC_MEDIATEK_MT8195
select ARCH_VERSTAGE_ARMV8_64
select ARCH_ROMSTAGE_ARMV8_64
select ARCH_RAMSTAGE_ARMV8_64
+ select ARM64_USE_ARM_TRUSTED_FIRMWARE
select CACHE_MRC_SETTINGS
select HAVE_UART_SPECIAL
select SOC_MEDIATEK_COMMON
diff --git a/src/soc/mediatek/mt8195/Makefile.inc b/src/soc/mediatek/mt8195/Makefile.inc
index 7cbfa8e7db..ad71cd96ed 100644
--- a/src/soc/mediatek/mt8195/Makefile.inc
+++ b/src/soc/mediatek/mt8195/Makefile.inc
@@ -59,6 +59,8 @@ ramstage-y += ../common/usb.c usb.c
ramstage-y += ../common/wdt.c
ramstage-y += mt6360.c
+BL31_MAKEARGS += PLAT=mt8195
+
MT8195_BLOB_DIR := 3rdparty/blobs/soc/mediatek/mt8195
DRAM_CBFS := $(CONFIG_CBFS_PREFIX)/dram