diff options
author | gnusercn <gnusercn@gmail.com> | 2008-10-08 18:58:58 +0200 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-10-08 18:58:58 +0200 |
commit | f41b144c11341b571eab7dcef6c4b8e03c92d2b2 (patch) | |
tree | daa4199daef78f60fccc4a6cc29bb82a60a808bf /lib_arm/board.c | |
parent | d13ff2358ff8c384f52eaf46f5d60258acf96ea6 (diff) | |
download | u-boot-imx-f41b144c11341b571eab7dcef6c4b8e03c92d2b2.zip u-boot-imx-f41b144c11341b571eab7dcef6c4b8e03c92d2b2.tar.gz u-boot-imx-f41b144c11341b571eab7dcef6c4b8e03c92d2b2.tar.bz2 |
Fix bug: in arch-arm, env_get_char dose not work fine
due to the arm implementation which supposed that U-Boot is in RAM
when we jump to start_armboot
Signed-off-by: gnusercn <gnusercn@gmail.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'lib_arm/board.c')
-rw-r--r-- | lib_arm/board.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c index 47e834c..f02fdc8 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -290,6 +290,8 @@ void start_armboot (void) gd->bd = (bd_t*)((char*)gd - sizeof(bd_t)); memset (gd->bd, 0, sizeof (bd_t)); + gd->flags |= GD_FLG_RELOC; + monitor_flash_len = _bss_start - _armboot_start; for (init_fnc_ptr = init_sequence; *init_fnc_ptr; ++init_fnc_ptr) { |