summaryrefslogtreecommitdiff
path: root/src/device/dram/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/dram/Makefile.inc')
-rw-r--r--src/device/dram/Makefile.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/device/dram/Makefile.inc b/src/device/dram/Makefile.inc
index 64f1dba801..7772db2de5 100644
--- a/src/device/dram/Makefile.inc
+++ b/src/device/dram/Makefile.inc
@@ -1,7 +1,8 @@
## SPDX-License-Identifier: GPL-2.0-only
romstage-y += ddr_common.c
-ramstage-y += ddr_common.c spd.c
+ramstage-y += ddr_common.c
+ramstage-y += spd.c
romstage-$(CONFIG_USE_DDR5) += ddr5.c
ramstage-$(CONFIG_USE_DDR5) += ddr5.c
@@ -9,7 +10,8 @@ ramstage-$(CONFIG_USE_DDR5) += ddr5.c
romstage-$(CONFIG_USE_LPDDR4) += lpddr4.c
ramstage-$(CONFIG_USE_LPDDR4) += lpddr4.c
-romstage-$(CONFIG_USE_DDR4) += ddr4.c rcd.c
+romstage-$(CONFIG_USE_DDR4) += ddr4.c
+romstage-$(CONFIG_USE_DDR4) += rcd.c
ramstage-$(CONFIG_USE_DDR4) += ddr4.c
romstage-$(CONFIG_USE_DDR3) += ddr3.c