commit | a75a3ef3059bef48529d5bede93da671ea0376bb | [log] [tgz] |
---|---|---|
author | Patrick Bruenn <p.bruenn@beckhoff.com> | Tue Jan 16 07:59:01 2018 +0100 |
committer | Stefano Babic <sbabic@denx.de> | Sun Feb 04 12:00:58 2018 +0100 |
tree | 1de77f798c991b261d47c261807d9f5fe2ea4fb1 | |
parent | 886678fcf715d7007d1c6e6358eb0ea952c666d4 [diff] |
arm: imx: cx9020: 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(). However multiple calls are better than undefined behavior... This fixes: https://lists.denx.de/pipermail/u-boot/2017-November/313214.html https://lists.denx.de/pipermail/u-boot/2017-December/314480.html Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>