summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f0c2799)
raw | patch | inline | side by side (parent: f0c2799)
author | Joe Hershberger <joe.hershberger@ni.com> | |
Tue, 11 Dec 2012 17:52:50 +0000 (17:52 +0000) | ||
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | |
Wed, 12 Dec 2012 12:20:24 +0000 (13:20 +0100) |
serial_initialize() must be called after relocation to adjust the
pointers to putc(), getc(), etc. This is busted ever since the
serial driver-model-ification series.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
pointers to putc(), getc(), etc. This is busted ever since the
serial driver-model-ification series.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/lib/board.c | patch | blob | history |
diff --git a/arch/mips/lib/board.c b/arch/mips/lib/board.c
index 4f330ccf7d7dabcbd9f2fad5e61838a6a6be17a9..d79e1837d9a37c21c07556618a22dc9c60e173e7 100644 (file)
--- a/arch/mips/lib/board.c
+++ b/arch/mips/lib/board.c
#include <common.h>
#include <command.h>
#include <malloc.h>
+#include <serial.h>
#include <stdio_dev.h>
#include <version.h>
#include <net.h>
monitor_flash_len = (ulong)&uboot_end_data - dest_addr;
+ serial_initialize();
+
#if defined(CONFIG_NEEDS_MANUAL_RELOC)
/*
* We have to relocate the command table manually