mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-07 01:40:49 +01:00
Call serial_initialize() before first debug() is used.
This commit is contained in:
parent
e6b6d16de7
commit
bb105f24cc
2 changed files with 7 additions and 6 deletions
|
|
@ -2,6 +2,8 @@
|
|||
Changes for U-Boot 1.1.4:
|
||||
======================================================================
|
||||
|
||||
* Call serial_initialize() before first debug() is used.
|
||||
|
||||
* Changes to Yellowstone & Yosemite 440EP/GR eval boards:
|
||||
- Changed GPIO setup to enable another address line in order to
|
||||
address 64M of FLASH.
|
||||
|
|
|
|||
|
|
@ -609,6 +609,11 @@ void board_init_r (gd_t *id, ulong dest_addr)
|
|||
bd = gd->bd;
|
||||
|
||||
gd->flags |= GD_FLG_RELOC; /* tell others: relocation done */
|
||||
gd->reloc_off = dest_addr - CFG_MONITOR_BASE;
|
||||
|
||||
#ifdef CONFIG_SERIAL_MULTI
|
||||
serial_initialize();
|
||||
#endif
|
||||
|
||||
debug ("Now running in RAM - U-Boot at: %08lx\n", dest_addr);
|
||||
|
||||
|
|
@ -618,14 +623,8 @@ void board_init_r (gd_t *id, ulong dest_addr)
|
|||
board_early_init_r ();
|
||||
#endif
|
||||
|
||||
gd->reloc_off = dest_addr - CFG_MONITOR_BASE;
|
||||
|
||||
monitor_flash_len = (ulong)&__init_end - dest_addr;
|
||||
|
||||
#ifdef CONFIG_SERIAL_MULTI
|
||||
serial_initialize();
|
||||
#endif
|
||||
|
||||
/*
|
||||
* We have to relocate the command table manually
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue