diff options
author | Bernhard Kaindl <bernhard.kaindl@thalesgroup.com> | 2011-10-16 00:07:08 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-23 23:34:19 +0200 |
commit | 9d256b67f6978c934e737e42245c150e8837fafb (patch) | |
tree | ea73b8dcde993de908a69d312d10a9d475935fef /doc/README.mvsmr | |
parent | 6dc809f40721e5424367b09c8dbfe07da50b8ca9 (diff) | |
download | u-boot-imx-9d256b67f6978c934e737e42245c150e8837fafb.zip u-boot-imx-9d256b67f6978c934e737e42245c150e8837fafb.tar.gz u-boot-imx-9d256b67f6978c934e737e42245c150e8837fafb.tar.bz2 |
powerpc/lib/board.c: Call run_post(POST_ROM) before relocating
The call to run_post(POST_ROM) which can run the POST memory test
is currently called too late when gd has already been copied to DRAM.
This results in failure to boot Linux after a POST_ROM memory test
tested all RAM while gd was already relocated to DRAM due to gd being
overwritten by the POST_ROM memory test.
Support this by moving the call to run_post(POST_ROM) to run earlier,
before U-Boot has started to move data to DRAM (from late board_init_f
to early board_init_f) where DRAM is initialized, but not used yet.
This allows that an POST memory test can test the whole DRAM,
including the area where the board info struct is located.
Signed-off-by: Bernhard Kaindl <bernhard.kaindl@thalesgroup.com>
Cc: Pieter Voorthuijsen <pieter.voorthuijsen@prodrive.nl>
Diffstat (limited to 'doc/README.mvsmr')
0 files changed, 0 insertions, 0 deletions