]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
microblaze: Call serial multi initialization
authorMichal Simek <monstr@monstr.eu>
Mon, 2 Jul 2012 08:31:29 +0000 (10:31 +0200)
committerMichal Simek <monstr@monstr.eu>
Tue, 10 Jul 2012 09:54:06 +0000 (11:54 +0200)
Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Simon Glass <sjg@chromium.org>
arch/microblaze/lib/board.c

index 7c001d1217f842177ec26c1c5702e56065f36863..d3f25953541cb36168c10592714bdde14e97414d 100644 (file)
@@ -30,6 +30,7 @@
 #include <version.h>
 #include <watchdog.h>
 #include <stdio_dev.h>
+#include <serial.h>
 #include <net.h>
 #include <asm/processor.h>
 
@@ -113,6 +114,10 @@ void board_init (void)
         */
        mem_malloc_init (CONFIG_SYS_MALLOC_BASE, CONFIG_SYS_MALLOC_LEN);
 
+#ifdef CONFIG_SERIAL_MULTI
+       serial_initialize();
+#endif
+
        for (init_fnc_ptr = init_sequence; *init_fnc_ptr; ++init_fnc_ptr) {
                WATCHDOG_RESET ();
                if ((*init_fnc_ptr) () != 0) {