提交 17024e77 编写于 作者: P Peter Griffin 提交者: Tom Rini

ARM: hikey: Remove resetting gd->flags in board_init()

This causes exceptions and other strange behaviour
when enabling CONFIG_SYS_MALLOC_F_LEN which is required to
migrate the serial driver over to DM_SERIAL.

As GD_FLG_FULL_MALLOC_INIT flag gets reset, after relocation
we don't end up using the full malloc which ultimately ends up
causing a synchronus abort.
Signed-off-by: NPeter Griffin <peter.griffin@linaro.org>
Reviewed-by: NSimon Glass <sjg@chromium.org>
上级 f7ca45e8
......@@ -269,8 +269,6 @@ int misc_init_r(void)
int board_init(void)
{
gd->flags = 0;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册