summaryrefslogtreecommitdiff
path: root/arch/microblaze/lib
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2012-07-02 10:31:29 +0200
committerMichal Simek <monstr@monstr.eu>2012-07-10 11:54:06 +0200
commite0bb305df88c98215da6d16af3709863d59ee256 (patch)
tree46bf32c4220d35b0d8c0d2dc89e860501e5d201f /arch/microblaze/lib
parent779bf42c2a278b2a2f8a4d9e4869c237d0a8742a (diff)
downloadu-boot-imx-e0bb305df88c98215da6d16af3709863d59ee256.zip
u-boot-imx-e0bb305df88c98215da6d16af3709863d59ee256.tar.gz
u-boot-imx-e0bb305df88c98215da6d16af3709863d59ee256.tar.bz2
microblaze: Call serial multi initialization
Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/microblaze/lib')
-rw-r--r--arch/microblaze/lib/board.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
index 7c001d1..d3f2595 100644
--- a/arch/microblaze/lib/board.c
+++ b/arch/microblaze/lib/board.c
@@ -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) {