Yu-Ping Wu has submitted this change. ( https://review.coreboot.org/c/coreboot/+/84897?usp=email )
Change subject: soc/mediatek/mt8196: Enable EARLY_MMU_INIT ......................................................................
soc/mediatek/mt8196: Enable EARLY_MMU_INIT
The boot time is improved by 58ms in bootblock. (78ms -> 20m)
BUG=b:361729697 TEST=check cbmem
Change-Id: I27ce378ba8e3744cfb3921835e34b32bbba991cb Signed-off-by: Yidi Lin yidilin@chromium.org Reviewed-on: https://review.coreboot.org/c/coreboot/+/84897 Reviewed-by: Yidi Lin yidilin@google.com Reviewed-by: Yu-Ping Wu yupingso@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/soc/mediatek/mt8196/Kconfig M src/soc/mediatek/mt8196/Makefile.mk 2 files changed, 2 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Yu-Ping Wu: Looks good to me, approved Yidi Lin: Looks good to me, approved
diff --git a/src/soc/mediatek/mt8196/Kconfig b/src/soc/mediatek/mt8196/Kconfig index d97b092..d373b95 100644 --- a/src/soc/mediatek/mt8196/Kconfig +++ b/src/soc/mediatek/mt8196/Kconfig @@ -12,6 +12,7 @@ select FLASH_DUAL_IO_READ select ARM64_USE_ARCH_TIMER select PCI + select EARLY_MMU_INIT
if SOC_MEDIATEK_MT8196
diff --git a/src/soc/mediatek/mt8196/Makefile.mk b/src/soc/mediatek/mt8196/Makefile.mk index 809f3dc..b73f213 100644 --- a/src/soc/mediatek/mt8196/Makefile.mk +++ b/src/soc/mediatek/mt8196/Makefile.mk @@ -10,6 +10,7 @@ all-y += ../common/uart.c
bootblock-y += bootblock.c +bootblock-y += ../common/bootblock.c bootblock.c bootblock-y += ../common/early_init.c bootblock-y += ../common/mmu_operations.c bootblock-$(CONFIG_PCI) += ../common/pcie.c pcie.c