]> git.baikalelectronics.ru Git - uboot.git/commit
arm: imx: mx53loco: remove usage of mx53_dram_size
authorPatrick Bruenn <p.bruenn@beckhoff.com>
Tue, 16 Jan 2018 06:59:04 +0000 (07:59 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 4 Feb 2018 11:00:58 +0000 (12:00 +0100)
commitfbfa3248b960d695159fcb09f1e5b72d9676a891
tree791a9bd798160b7e3e3bf0374fa944d8cab34e7b
parentcc7bc29faf2c5c045509ae35322066a5c89260ac
arm: imx: mx53loco: 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/freescale/mx53loco/mx53loco.c