Modifications since 1.2.0:
======================================================================
+* Fix init problems for 7xx boards
+
* Fix endianess problems in autoscript command
* Add VFD support for TRAB
/* ------------------------------------------------------------------------- */
-void after_reloc (gd_t *gd, ulong dest_addr)
+void after_reloc (ulong dest_addr)
{
- /* DECLARE_GLOBAL_DATA_PTR; r3, r4 from start.S ? */
+ DECLARE_GLOBAL_DATA_PTR;
+
/*
* Jump to the main ppcboot board init code
*/
/* ------------------------------------------------------------------------- */
-void after_reloc (gd_t *gd, ulong dest_addr)
+void after_reloc (ulong dest_addr)
{
- /* DECLARE_GLOBAL_DATA_PTR; r3, r4 from start.S ? */
+ DECLARE_GLOBAL_DATA_PTR;
+
/*
* Jump to the main ppcboot board init code
*/
cmplw 0, r3, r4
bne 5b
6:
- mr r3, r9 /* Global Data pointer */
- mr r4, r10 /* Destination Address */
+ mr r3, r10 /* Destination Address */
bl after_reloc
/* not reached - end relocate_code */