Rex-BC Chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/59823 )
Change subject: soc/mediatek/mt8186: build in MT8186 ATF ......................................................................
soc/mediatek/mt8186: build in MT8186 ATF
Enable configuration to build with MT8186 arm-trusted-firmware drivers.
TEST=build pass BUG=b:202871018
Cq-Depend: chromium:3189573 Signed-off-by: Rex-BC Chen rex-bc.chen@mediatek.com Change-Id: Ib23b112a0bf3d056b932a87b86aaff79508ef50c --- M src/soc/mediatek/mt8186/Kconfig M src/soc/mediatek/mt8186/Makefile.inc 2 files changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/59823/1
diff --git a/src/soc/mediatek/mt8186/Kconfig b/src/soc/mediatek/mt8186/Kconfig index ce915e2..5393baa 100644 --- a/src/soc/mediatek/mt8186/Kconfig +++ b/src/soc/mediatek/mt8186/Kconfig @@ -5,6 +5,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 SOC_MEDIATEK_COMMON
diff --git a/src/soc/mediatek/mt8186/Makefile.inc b/src/soc/mediatek/mt8186/Makefile.inc index fbde650..7a2f997 100644 --- a/src/soc/mediatek/mt8186/Makefile.inc +++ b/src/soc/mediatek/mt8186/Makefile.inc @@ -58,6 +58,8 @@ ramstage-y += ../common/pmic_wrap.c pmic_wrap.c mt6366.c ramstage-y += ../common/rtc.c ../common/rtc_osc_init.c rtc.c
+BL31_MAKEARGS += PLAT=mt8186 + CPPFLAGS_common += -Isrc/soc/mediatek/mt8186/include CPPFLAGS_common += -Isrc/soc/mediatek/common/include