diff mbox

[U-Boot,3/5,v3] microblaze: Initialize jumptable and console

Message ID 1317973139-24315-3-git-send-email-monstr@monstr.eu
State Accepted
Headers show

Commit Message

Michal Simek Oct. 7, 2011, 7:38 a.m. UTC
This changes were done to get support for netconsole.

Signed-off-by: Michal Simek <monstr@monstr.eu>

---
v2: Fix commit message

v3: Fix coding style
---
 arch/microblaze/lib/board.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
index df27c1c..d677329 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);
 	}