]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Call serial_initialize() before first debug() is used.
authorMarian Balakowicz <m8@semihalf.com>
Fri, 30 Jun 2006 13:27:09 +0000 (15:27 +0200)
committerMarian Balakowicz <m8@semihalf.com>
Fri, 30 Jun 2006 13:27:09 +0000 (15:27 +0200)
CHANGELOG
lib_ppc/board.c

index 015932e74db7cd15bf695fbaafa816fd00c708f8..a326f7ddfa3fda5c00841758844197ad8e21cc2b 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,8 @@
 Changes for U-Boot 1.1.4:
 ======================================================================
 
+* Call serial_initialize() before first debug() is used.
+
 * Changes to Yellowstone & Yosemite 440EP/GR eval boards:
   - Changed GPIO setup to enable another address line in order to
     address 64M of FLASH.
index f40bb253b815a69db2dba67a28d97b30245110f3..18e55377284f29a4ad72c058685c00c34e87421a 100644 (file)
@@ -609,6 +609,11 @@ void board_init_r (gd_t *id, ulong dest_addr)
        bd = gd->bd;
 
        gd->flags |= GD_FLG_RELOC;      /* tell others: relocation done */
+       gd->reloc_off = dest_addr - CFG_MONITOR_BASE;
+
+#ifdef CONFIG_SERIAL_MULTI
+       serial_initialize();
+#endif
 
        debug ("Now running in RAM - U-Boot at: %08lx\n", dest_addr);
 
@@ -618,14 +623,8 @@ void board_init_r (gd_t *id, ulong dest_addr)
        board_early_init_r ();
 #endif
 
-       gd->reloc_off = dest_addr - CFG_MONITOR_BASE;
-
        monitor_flash_len = (ulong)&__init_end - dest_addr;
 
-#ifdef CONFIG_SERIAL_MULTI
-       serial_initialize();
-#endif
-
        /*
         * We have to relocate the command table manually
         */