| Submitter | Michal Simek |
|---|---|
| Date | July 9, 2012, 9:20 a.m. |
| Message ID | <1341825639-23475-10-git-send-email-monstr@monstr.eu> |
| Download | mbox | patch |
| Permalink | /patch/169727/ |
| State | New |
| Delegated to: | Michal Simek |
| Headers | show |
Comments
On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek <monstr@monstr.eu> wrote: > Signed-off-by: Michal Simek <monstr@monstr.eu> > Acked-by: Simon Glass <sjg@chromium.org> > --- > arch/microblaze/lib/board.c | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c > index ddbc862..37ec665 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> > #include <asm/microblaze_intc.h> > @@ -118,6 +119,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) { > -- > 1.7.0.4 > >
On 07/09/2012 11:32 PM, Simon Glass wrote:
> Acked-by: Simon Glass <sjg@chromium.org <mailto:sjg@chromium.org>>
Applied.
Thanks,
Michal
Patch
diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c index ddbc862..37ec665 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> #include <asm/microblaze_intc.h> @@ -118,6 +119,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) {
Signed-off-by: Michal Simek <monstr@monstr.eu> --- arch/microblaze/lib/board.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)