Browse Source

microblaze: Initialize jumptable and console

This changes were done to get support for netconsole.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek 14 years ago
parent
commit
aa7acdd509
1 changed files with 6 additions and 0 deletions
  1. 6 0
      arch/microblaze/lib/board.c

+ 6 - 0
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);
 	}