summaryrefslogtreecommitdiff
path: root/drivers/memory/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-03 11:12:32 +0300
committerOlof Johansson <olof@lixom.net>2019-06-17 14:45:17 +0300
commit7b43b8fdc9a6283c0b9405542c4406cfa1e5689a (patch)
tree0f7636ea8a4d75a61e3436adcac92ba82a542be6 /drivers/memory/Makefile
parentc9727db7cc1da03ea4247010e47597c617ee2176 (diff)
downloadlinux-7b43b8fdc9a6283c0b9405542c4406cfa1e5689a.tar.xz
memory: move jedec_ddr_data.c from lib/ to drivers/memory/
jedec_ddr_data.c exports 3 symbols, and all of them are only referenced from drivers/memory/{emif.c,of_memory.c} drivers/memory/ is a better location than lib/. I removed the Kconfig prompt "JEDEC DDR data" because it is only select'ed by TI_EMIF, and there is no other user. There is no good reason in making it a user-configurable CONFIG option. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/memory/Makefile')
-rw-r--r--drivers/memory/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/memory/Makefile b/drivers/memory/Makefile
index 91ae4eb0e913..9d5c409a1591 100644
--- a/drivers/memory/Makefile
+++ b/drivers/memory/Makefile
@@ -3,6 +3,7 @@
# Makefile for memory devices
#
+obj-$(CONFIG_DDR) += jedec_ddr_data.o
ifeq ($(CONFIG_DDR),y)
obj-$(CONFIG_OF) += of_memory.o
endif