commit | 8822c8795f727acc402e1c85b4dbe503ca9a08e5 | [log] [tgz] |
---|---|---|
author | Patrick Bruenn <p.bruenn@beckhoff.com> | Tue Jan 16 07:59:04 2018 +0100 |
committer | Stefano Babic <sbabic@denx.de> | Sun Feb 04 12:00:58 2018 +0100 |
tree | 791a9bd798160b7e3e3bf0374fa944d8cab34e7b | |
parent | 87870477c20cac949c1b8ac78845db451c0d78b7 [diff] |
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>