soc/mediatek/mt8189: Enable ARM Trusted Firmware integration
Enable configuration to build with MT8189 arm-trusted-firmware drivers. BUG=b:379008996 BRANCH=none TEST=build passed. Output coreboot log: [INFO ] CBFS: Found 'fallback/bl31' @0x4e880 size 0x42e9 in mcache @0xffffeb90 Signed-off-by: Vince Liu <vince-wl.liu@mediatek.corp-partner.google.com> Change-Id: If5c311bea10ad8cb0b8b7a5e48d9e36d0d569a7e Reviewed-on: https://review.coreboot.org/c/coreboot/+/87003 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@google.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
parent
e183dc8037
commit
7dc9e62f40
2 changed files with 4 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ config SOC_MEDIATEK_MT8189
|
|||
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
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ romstage-y += ../common/emi.c
|
|||
romstage-y += ../common/memory.c ../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/dramc_info.c
|
||||
ramstage-y += ../common/emi.c
|
||||
ramstage-y += ../common/memory.c
|
||||
|
|
@ -26,6 +27,8 @@ ramstage-y += ../common/mmu_operations.c ../common/mmu_cmops.c
|
|||
ramstage-y += soc.c
|
||||
ramstage-y += ../common/usb.c usb.c
|
||||
|
||||
BL31_MAKEARGS += PLAT=mt8189
|
||||
|
||||
CPPFLAGS_common += -Isrc/soc/mediatek/mt8189/include
|
||||
CPPFLAGS_common += -Isrc/soc/mediatek/common/include
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue