diff options
author | Michal Simek <monstr@monstr.eu> | 2011-07-21 10:30:42 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2011-10-10 08:54:21 +0200 |
commit | aa7acdd5094b0463301af1cf00186ff5ff2a8082 (patch) | |
tree | 4494f9e774c2040975153b536e8a6595b5063bac | |
parent | a93c1a171ce012bbbba09bbaad22c8e516a589f9 (diff) |
microblaze: Initialize jumptable and console
This changes were done to get support for netconsole.
Signed-off-by: Michal Simek <monstr@monstr.eu>
-rw-r--r-- | arch/microblaze/lib/board.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c index df27c1c1b93..d6773299e1b 100644 --- a/arch/microblaze/lib/board.c +++ b/arch/microblaze/lib/board.c @@ -166,6 +166,12 @@ void board_init (void) /* Initialize stdio devices */ stdio_init (); + /* Initialize the jump table for applications */ + jumptable_init(); + + /* Initialize the console (after the relocation and devices init) */ + console_init_r(); + if ((s = getenv ("loadaddr")) != NULL) { load_addr = simple_strtoul (s, NULL, 16); } |