u-boot/lib_ppc
Peter Tyser f9476902b7 mpc85xx, mpc86xx: Fix gd->cpu pointer after relocation
The gd->cpu pointer is set to an address located in flash when the
probecpu() function is called while U-Boot is executing from flash.
This pointer needs to be updated to point to an address in RAM after
relocation has occurred otherwise Linux may not be able to boot due to
"fdt board" crashing if flash has been erased or changed.

This bug was introduced in commit
a0e2066f39.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Reported-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Tested-by: Kumar Gala <galak@kernel.crashing.org>
Tested on MPC8527DS.
Tested by: Ed Swarthout <Ed.Swarthout@freescale.com>
2009-12-15 22:45:51 +01:00
..
bat_rw.c mpc86xx: Add support to populate addr map based on BATs 2009-02-10 00:29:49 +01:00
board.c mpc85xx, mpc86xx: Fix gd->cpu pointer after relocation 2009-12-15 22:45:51 +01:00
bootm.c 8xxx: Removed CONFIG_NUM_CPUS from 85xx/86xx 2009-08-28 17:12:38 -05:00
cache.c ppc: Fix roll over bug in flush_cache() 2009-02-10 00:47:18 +01:00
config.mk ppc: Enable full relocation to RAM 2009-10-03 10:15:45 +02:00
extable.c ppc: Remove extable relocation fixups 2009-10-03 10:17:56 +02:00
interrupts.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
kgdb.c ppc: Move conditional compilation of kgdb.c to Makefile 2009-11-24 23:41:11 +01:00
Makefile ppc: Move conditional compilation of kgdb.c to Makefile 2009-11-24 23:41:11 +01:00
ppccache.S Update Freescale copyrights to remove "All Rights Reserved" 2009-07-29 09:59:22 +02:00
ppcstring.S Initial revision 2000-07-19 14:09:16 +00:00
ticks.S Initial revision 2001-11-26 22:06:16 +00:00
time.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00