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

Michal Simek monstr at monstr.eu
Fri Oct 7 09:38:57 CEST 2011


This changes were done to get support for netconsole.

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

---
v2: Fix commit message

v3: Fix coding style
---
 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 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);
 	}
-- 
1.5.5.6



More information about the U-Boot mailing list