[U-Boot] [PATCH 13/26] microblaze: Initialize jumptable and console
Michal Simek
monstr at monstr.eu
Tue Sep 13 09:10:08 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 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);
}
--
1.5.5.6
More information about the U-Boot
mailing list