]> git.sur5r.net Git - u-boot/blobdiff - lib_ppc/board.c
fix cmd_bdinfo.c:354: warning: 'print_eth' defined but not used
[u-boot] / lib_ppc / board.c
index 2889b2c2c516af21f444a54f10d0fe926bf8062c..a30acee4febf5ee5c675953cfd2feeacfa8da8e7 100644 (file)
@@ -477,10 +477,6 @@ void board_init_f (ulong bootflag)
 
        debug ("Reserving %ldk for U-Boot at: %08lx\n", len >> 10, addr);
 
-#ifdef CONFIG_AMIGAONEG3SE
-       gd->relocaddr = addr;
-#endif
-
        /*
         * reserve memory for malloc() arena
         */
@@ -612,6 +608,8 @@ void board_init_f (ulong bootflag)
 
        WATCHDOG_RESET();
 
+       gd->relocaddr = addr; /* Record relocation address, useful for debug */
+
        memcpy (id, (void *)gd, sizeof (gd_t));
 
        relocate_code (addr_sp, id, addr);