]> git.sur5r.net Git - u-boot/commit
arm: imx: m53evk: remove usage of mx53_dram_size
authorPatrick Bruenn <p.bruenn@beckhoff.com>
Tue, 16 Jan 2018 06:59:03 +0000 (07:59 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 4 Feb 2018 11:00:58 +0000 (12:00 +0100)
commit9d9baacb90492e1a6dc4f88732f6641163aa9c12
treee0fff68aa54d1b104746a2b0e2ed3f1d6eaab3d0
parentdaebb796ff5a91f3185c7653abcb97c3a0a228f3
arm: imx: m53evk: remove usage of mx53_dram_size

Static variables are not available during board_init_f().
'static uint32_t mx53_dram_size[2];' was used in board specific
dram_init(), dram_init_banksize() and get_effective_memsize() to avoid
multiple calls to get_ram_size().

Reused dram initialization functions from arch/arm/mach-imx/mx5/mx53_dram.c

Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
arch/arm/mach-imx/mx5/Makefile
board/aries/m53evk/m53evk.c