aboutsummaryrefslogtreecommitdiff
path: root/lib_arm
diff options
context:
space:
mode:
authorgnusercn2008-10-08 18:58:58 +0200
committerJean-Christophe PLAGNIOL-VILLARD2008-10-08 18:58:58 +0200
commitf41b144c11341b571eab7dcef6c4b8e03c92d2b2 (patch)
treedaa4199daef78f60fccc4a6cc29bb82a60a808bf /lib_arm
parentd13ff2358ff8c384f52eaf46f5d60258acf96ea6 (diff)
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')
-rw-r--r--lib_arm/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c
index 47e834c9d00..f02fdc87cac 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) {