summaryrefslogtreecommitdiff
path: root/arch/microblaze/lib/board.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2011-07-21 10:30:42 +0200
committerMichal Simek <monstr@monstr.eu>2011-10-10 08:54:21 +0200
commitaa7acdd5094b0463301af1cf00186ff5ff2a8082 (patch)
tree4494f9e774c2040975153b536e8a6595b5063bac /arch/microblaze/lib/board.c
parenta93c1a171ce012bbbba09bbaad22c8e516a589f9 (diff)
downloadu-boot-imx-aa7acdd5094b0463301af1cf00186ff5ff2a8082.zip
u-boot-imx-aa7acdd5094b0463301af1cf00186ff5ff2a8082.tar.gz
u-boot-imx-aa7acdd5094b0463301af1cf00186ff5ff2a8082.tar.bz2
microblaze: Initialize jumptable and console
This changes were done to get support for netconsole. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/lib/board.c')
-rw-r--r--arch/microblaze/lib/board.c6
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);
}