Patchwork [U-Boot,13/26] microblaze: Initialize jumptable and console

login
register
mail settings
Submitter Michal Simek
Date Sept. 13, 2011, 7:10 a.m.
Message ID <1315897821-23049-14-git-send-email-monstr@monstr.eu>
Download mbox | patch
Permalink /patch/114444/
State Accepted
Commit aa7acdd5094b0463301af1cf00186ff5ff2a8082
Headers show

Comments

Michal Simek - Sept. 13, 2011, 7:10 a.m.
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(-)

Patch

diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
index af33a15..75748f3 100644
--- a/arch/microblaze/lib/board.c
+++ b/arch/microblaze/lib/board.c
@@ -165,6 +165,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);
 	}