]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix bug: in arch-arm, env_get_char dose not work fine
authorgnusercn <gnusercn@gmail.com>
Wed, 8 Oct 2008 16:58:58 +0000 (18:58 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 8 Oct 2008 16:58:58 +0000 (18:58 +0200)
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>
lib_arm/board.c

index 47e834c9d00e96811f6ade9cac9700797abdb665..f02fdc87cac6a84312b25be5e77da88016bed1c6 100644 (file)
@@ -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) {