microblaze: Call serial multi initialization

Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Michal Simek 2012-07-02 10:31:29 +02:00
parent 779bf42c2a
commit e0bb305df8
1 changed files with 5 additions and 0 deletions

View 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) {