Attention is currently required from: Hung-Te Lin, Yidi Lin, Yu-Ping Wu.
Jarried Lin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/85503?usp=email )
Change subject: soc/mediatek/mt8196: Enable ARM Trusted Firmware integration ......................................................................
soc/mediatek/mt8196: Enable ARM Trusted Firmware integration
Enable configuration to build with MT8196 arm-trusted-firmware drivers.
TEST=build pass BUG=b:317009620
Change-Id: I516e648f78b74cc5ea82f52084d5b9dbaeb6f7f0 Signed-off-by: Jarried Lin jarried.lin@mediatek.corp-partner.google.com --- M src/soc/mediatek/mt8196/Kconfig M src/soc/mediatek/mt8196/Makefile.mk 2 files changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/85503/1
diff --git a/src/soc/mediatek/mt8196/Kconfig b/src/soc/mediatek/mt8196/Kconfig index c934761..984e379 100644 --- a/src/soc/mediatek/mt8196/Kconfig +++ b/src/soc/mediatek/mt8196/Kconfig @@ -7,6 +7,7 @@ select ARCH_VERSTAGE_ARMV8_64 select ARCH_ROMSTAGE_ARMV8_64 select ARCH_RAMSTAGE_ARMV8_64 + select ARM64_USE_ARM_TRUSTED_FIRMWARE select HAVE_UART_SPECIAL select CACHE_MRC_SETTINGS select MEDIATEK_DRAM_BLOB_FAST_INIT diff --git a/src/soc/mediatek/mt8196/Makefile.mk b/src/soc/mediatek/mt8196/Makefile.mk index 9d00a2e..3f76811 100644 --- a/src/soc/mediatek/mt8196/Makefile.mk +++ b/src/soc/mediatek/mt8196/Makefile.mk @@ -29,6 +29,7 @@ romstage-y += ../common/memory_test.c romstage-y += ../common/mmu_operations.c ../common/mmu_cmops.c
+ramstage-$(CONFIG_ARM64_USE_ARM_TRUSTED_FIRMWARE) += ../common/bl31.c ramstage-y += ../common/dpm_v2.c ramstage-y += dramc_info.c ramstage-y += ../common/early_init.c @@ -40,6 +41,8 @@ ramstage-y += soc.c ramstage-y += ../common/usb.c usb.c
+BL31_MAKEARGS += PLAT=mt8196 + CPPFLAGS_common += -Isrc/soc/mediatek/mt8196/include CPPFLAGS_common += -Isrc/soc/mediatek/common/include