u-boot/arch/powerpc/lib
Bernhard Kaindl 9d256b67f6 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>
2011-10-23 23:34:19 +02:00
..
bat_rw.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
board.c powerpc/lib/board.c: Call run_post(POST_ROM) before relocating 2011-10-23 23:34:19 +02:00
bootcount.c mpc832x: add support for the mpc8321 based suvd3 board 2011-04-30 00:44:29 +02:00
bootm.c Flush cache after the OS image is loaded into the memory. 2011-09-05 16:07:44 +02:00
cache.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
extable.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
interrupts.c Timer: Remove reset_timer() for non-Nios2 arches 2011-07-26 14:53:30 +02:00
kgdb.c powerpc: fix register usage in some inline assembly code 2010-12-17 21:18:08 +01:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
memcpy_mpc5200.c MPC512x: workaround data corruption for unaligned local bus accesses 2010-06-29 14:41:37 +02:00
ppccache.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ppcstring.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
reloc.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ticks.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
time.c powerpc: fix register usage in some inline assembly code 2010-12-17 21:18:08 +01:00