diff options
author | Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de> | 2013-01-16 08:24:10 +0100 |
---|---|---|
committer | jason <jason@jason-ThinkPad-T61.(none)> | 2013-06-27 08:31:16 +0800 |
commit | aea5eee126eab0d49fd52da212e51d83749d30e7 (patch) | |
tree | 583aac8b62888d1b5ff8bd008fae5bcc9200383a /arch/m68k/lib/board.c | |
parent | e31dc61e7dc89ce900426828c936208a6638cf8c (diff) | |
download | u-boot-aea5eee126eab0d49fd52da212e51d83749d30e7.tar.gz u-boot-aea5eee126eab0d49fd52da212e51d83749d30e7.tar.bz2 u-boot-aea5eee126eab0d49fd52da212e51d83749d30e7.zip |
m68k: fix debug call befor serial init
There is a debug call in board.c befor serial interface was initialized.
This moves the debug code behind serial_initialize call.
Signed-off-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
Diffstat (limited to 'arch/m68k/lib/board.c')
-rw-r--r-- | arch/m68k/lib/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/lib/board.c b/arch/m68k/lib/board.c index b2e3068364..efc9fccc1b 100644 --- a/arch/m68k/lib/board.c +++ b/arch/m68k/lib/board.c @@ -403,14 +403,14 @@ void board_init_r (gd_t *id, ulong dest_addr) gd->flags |= GD_FLG_RELOC; /* tell others: relocation done */ - debug ("Now running in RAM - U-Boot at: %08lx\n", dest_addr); - WATCHDOG_RESET (); gd->reloc_off = dest_addr - CONFIG_SYS_MONITOR_BASE; serial_initialize(); + debug("Now running in RAM - U-Boot at: %08lx\n", dest_addr); + monitor_flash_len = (ulong)&__init_end - dest_addr; #if defined(CONFIG_NEEDS_MANUAL_RELOC) |