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> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85503 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@google.com>
This commit is contained in:
parent
42a696090f
commit
a5362f6d73
2 changed files with 4 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ config SOC_MEDIATEK_MT8196
|
|||
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
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ romstage-y += ../common/memory.c memory.c
|
|||
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-$(CONFIG_PCI) += ../common/pcie.c pcie.c
|
|||
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue