提交 f41b144c 编写于 作者: G gnusercn 提交者: Jean-Christophe PLAGNIOL-VILLARD

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: Ngnusercn <gnusercn@gmail.com>
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
上级 d13ff235
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册