arm: imx: cx9020: move dram init into common place
authorPatrick Bruenn <p.bruenn@beckhoff.com>
Tue, 16 Jan 2018 06:59:02 +0000 (07:59 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 4 Feb 2018 11:00:58 +0000 (12:00 +0100)
commitdaebb796ff5a91f3185c7653abcb97c3a0a228f3
treef21009217f1d66a769caae4204d1f11e7ff3ea55
parenta75a3ef3059bef48529d5bede93da671ea0376bb
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>
arch/arm/mach-imx/mx5/Makefile
arch/arm/mach-imx/mx5/mx53_dram.c [new file with mode: 0644]
board/beckhoff/mx53cx9020/mx53cx9020.c