]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - lib_nios2/board.c
85xx/86xx: Replace in8/out8 with in_8/out_8 on FSL boards
[karo-tx-uboot.git] / lib_nios2 / board.c
index 70fad1b87029f2c54c05f248b9b2b48bf3003746..b142c59613796fa894088d7b6f69508aa60071eb 100644 (file)
@@ -25,7 +25,7 @@
  */
 
 #include <common.h>
-#include <devices.h>
+#include <stdio_dev.h>
 #include <watchdog.h>
 #include <net.h>
 #ifdef CONFIG_STATUS_LED
@@ -148,18 +148,20 @@ void board_init (void)
                }
        }
 
+       WATCHDOG_RESET ();
+       mem_malloc_init();
+       malloc_bin_reloc();
+
        WATCHDOG_RESET ();
        bd->bi_flashsize = flash_init();
 
        WATCHDOG_RESET ();
-       mem_malloc_init();
-       malloc_bin_reloc();
        env_relocate();
 
        bd->bi_ip_addr = getenv_IPaddr ("ipaddr");
 
        WATCHDOG_RESET ();
-       devices_init();
+       stdio_init();
        jumptable_init();
        console_init_r();