Skip to content
Snippets Groups Projects
Commit f41b144c authored by gnusercn's avatar gnusercn Committed by Jean-Christophe PLAGNIOL-VILLARD
Browse files

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: default avatargnusercn <gnusercn@gmail.com>
Signed-off-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
parent d13ff235
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment