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>
This commit is contained in:
Yidi Lin 2024-08-24 08:30:44 +08:00 committed by Yu-Ping Wu
commit ba0ac93452
2 changed files with 2 additions and 0 deletions

View file

@ -12,6 +12,7 @@ config SOC_MEDIATEK_MT8196
select FLASH_DUAL_IO_READ
select ARM64_USE_ARCH_TIMER
select PCI
select EARLY_MMU_INIT
if SOC_MEDIATEK_MT8196

View file

@ -10,6 +10,7 @@ all-y += timer.c timer_prepare.c
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