diff options
author | Patrick Bruenn <p.bruenn@beckhoff.com> | 2018-01-16 07:59:01 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-02-04 12:00:58 +0100 |
commit | a75a3ef3059bef48529d5bede93da671ea0376bb (patch) | |
tree | 1de77f798c991b261d47c261807d9f5fe2ea4fb1 /board/htkw | |
parent | 886678fcf715d7007d1c6e6358eb0ea952c666d4 (diff) | |
download | u-boot-a75a3ef3059bef48529d5bede93da671ea0376bb.tar.gz |
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>
Diffstat (limited to 'board/htkw')
0 files changed, 0 insertions, 0 deletions