summaryrefslogtreecommitdiff
path: root/src/security/memory/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/security/memory/Makefile.inc')
-rw-r--r--src/security/memory/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/security/memory/Makefile.inc b/src/security/memory/Makefile.inc
new file mode 100644
index 0000000000..525c4dbb4d
--- /dev/null
+++ b/src/security/memory/Makefile.inc
@@ -0,0 +1,3 @@
+romstage-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory.c
+postcar-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory.c
+ramstage-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory.c