diff --git a/src/soc/mediatek/mt8196/memory.c b/src/soc/mediatek/common/memory_type.c similarity index 100% rename from src/soc/mediatek/mt8196/memory.c rename to src/soc/mediatek/common/memory_type.c diff --git a/src/soc/mediatek/mt8189/Makefile.mk b/src/soc/mediatek/mt8189/Makefile.mk index 1014d1959c..eb1ce41b48 100644 --- a/src/soc/mediatek/mt8189/Makefile.mk +++ b/src/soc/mediatek/mt8189/Makefile.mk @@ -22,7 +22,7 @@ romstage-y += ../common/dram_init.c romstage-y += ../common/dramc_param.c romstage-y += dvfs.c romstage-y += ../common/emi.c -romstage-y += ../common/memory.c ../common/memory_test.c +romstage-y += ../common/memory.c ../common/memory_test.c ../common/memory_type.c romstage-y += ../common/mmu_operations.c ../common/mmu_cmops.c romstage-y += ../common/mt6315.c mt6315.c romstage-y += ../common/mt6359p.c mt6359p.c diff --git a/src/soc/mediatek/mt8196/Makefile.mk b/src/soc/mediatek/mt8196/Makefile.mk index 9cf46ac809..2e47a0e970 100644 --- a/src/soc/mediatek/mt8196/Makefile.mk +++ b/src/soc/mediatek/mt8196/Makefile.mk @@ -36,7 +36,7 @@ romstage-y += ../common/emi.c romstage-y += irq2axi.c romstage-y += l2c_ops.c romstage-y += modem_power_ctrl.c -romstage-y += ../common/memory.c memory.c +romstage-y += ../common/memory.c ../common/memory_type.c romstage-y += ../common/memory_test.c romstage-y += ../common/mmu_operations.c ../common/mmu_cmops.c romstage-y += ../common/mt6316.c mt6316.c