diff options
author | Yidi Lin <yidilin@chromium.org> | 2024-08-24 08:30:44 +0800 |
---|---|---|
committer | Yu-Ping Wu <yupingso@google.com> | 2024-11-06 04:00:18 +0000 |
commit | ba0ac93452abd3db34bdfc9dd144ea51199d3d19 (patch) | |
tree | f6110cba3d146b7d0710269d299c65135783a14a /src | |
parent | 1121a7b9cc0566a76084d63e9c9ea8352711e31c (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/mediatek/mt8196/Kconfig | 1 | ||||
-rw-r--r-- | src/soc/mediatek/mt8196/Makefile.mk | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8196/Kconfig b/src/soc/mediatek/mt8196/Kconfig index d97b092b91..d373b956c9 100644 --- a/src/soc/mediatek/mt8196/Kconfig +++ b/src/soc/mediatek/mt8196/Kconfig @@ -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 diff --git a/src/soc/mediatek/mt8196/Makefile.mk b/src/soc/mediatek/mt8196/Makefile.mk index 809f3dc94a..b73f213d6c 100644 --- a/src/soc/mediatek/mt8196/Makefile.mk +++ b/src/soc/mediatek/mt8196/Makefile.mk @@ -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 |