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:
parent
779bf42c2a
commit
e0bb305df8
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue