summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mx5/Makefile
diff options
context:
space:
mode:
authorPatrick Bruenn <p.bruenn@beckhoff.com>2018-01-16 07:59:02 +0100
committerStefano Babic <sbabic@denx.de>2018-02-04 12:00:58 +0100
commitdaebb796ff5a91f3185c7653abcb97c3a0a228f3 (patch)
treef21009217f1d66a769caae4204d1f11e7ff3ea55 /arch/arm/mach-imx/mx5/Makefile
parenta75a3ef3059bef48529d5bede93da671ea0376bb (diff)
arm: imx: cx9020: move dram init into common place
Move dram_init(), dram_init_banksize() and get_effective_memsize() to arch/arm/mach-imx/mx5/mx53_dram.c, where it can be reused by m53evk and mx53loco. Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
Diffstat (limited to 'arch/arm/mach-imx/mx5/Makefile')
-rw-r--r--arch/arm/mach-imx/mx5/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mx5/Makefile b/arch/arm/mach-imx/mx5/Makefile
index d021842f68..368cfde98b 100644
--- a/arch/arm/mach-imx/mx5/Makefile
+++ b/arch/arm/mach-imx/mx5/Makefile
@@ -9,3 +9,6 @@
obj-y := soc.o clock.o
obj-y += lowlevel_init.o
+
+# common files for mx53 dram initialization
+obj-$(CONFIG_TARGET_MX53CX9020) += mx53_dram.o