From abf34584dbfecdd74db36dd24f6008d1051a96a9 Mon Sep 17 00:00:00 2001 From: Jarried Lin Date: Fri, 16 Aug 2024 10:24:18 +0800 Subject: soc/mediatek: Refactor MMU operation for L2C SRAM and DMA Refactor mmu operation by - moving mtk_soc_disable_l2c_sram to l2c_ops.c - keeping mtk_soc_after_dram in mmu_cmops.c Change-Id: I14bd8a82e0b5f8f00ce2b52e5aee918e130912d4 Signed-off-by: Jarried Lin Reviewed-on: https://review.coreboot.org/c/coreboot/+/83937 Reviewed-by: Yu-Ping Wu Reviewed-by: Yidi Lin Tested-by: build bot (Jenkins) --- src/soc/mediatek/mt8186/Makefile.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/soc/mediatek/mt8186') diff --git a/src/soc/mediatek/mt8186/Makefile.mk b/src/soc/mediatek/mt8186/Makefile.mk index f790d2af17..d44dc4592d 100644 --- a/src/soc/mediatek/mt8186/Makefile.mk +++ b/src/soc/mediatek/mt8186/Makefile.mk @@ -23,6 +23,7 @@ romstage-y += ../common/cbmem.c romstage-y += ../common/dram_init.c romstage-y += ../common/dramc_param.c romstage-y += ../common/emi.c +romstage-y += ../common/l2c_ops.c romstage-y += ../common/memory.c romstage-y += ../common/memory_test.c romstage-y += ../common/mmu_operations.c ../common/mmu_cmops.c @@ -41,6 +42,7 @@ ramstage-y += ../common/dfd.c ramstage-y += ../common/display.c ramstage-y += ../common/dsi.c ../common/mtk_mipi_dphy.c ramstage-y += ../common/emi.c +ramstage-y += ../common/l2c_ops.c ramstage-y += ../common/mcu.c ramstage-y += ../common/mmu_operations.c ../common/mmu_cmops.c ramstage-$(CONFIG_COMMONLIB_STORAGE_MMC) += ../common/msdc.c msdc.c -- cgit v1.2.3