Skip to content
Snippets Groups Projects
Commit 17024e77 authored by Peter Griffin's avatar Peter Griffin Committed by Tom Rini
Browse files

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: default avatarPeter Griffin <peter.griffin@linaro.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent f7ca45e8
No related branches found
No related tags found
Loading
Loading
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