aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/memory/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/memory/Makefile')
-rw-r--r--drivers/memory/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/memory/Makefile b/drivers/memory/Makefile
index cd8486b..9cce5d7 100644
--- a/drivers/memory/Makefile
+++ b/drivers/memory/Makefile
@@ -2,7 +2,9 @@
# Makefile for memory devices
#
+ifeq ($(CONFIG_DDR),y)
obj-$(CONFIG_OF) += of_memory.o
+endif
obj-$(CONFIG_TI_EMIF) += emif.o
obj-$(CONFIG_TEGRA20_MC) += tegra20-mc.o
obj-$(CONFIG_TEGRA30_MC) += tegra30-mc.o