ARM: hikey: Remove resetting gd->flags in board_init()
authorPeter Griffin <peter.griffin@linaro.org>
Thu, 10 Sep 2015 20:55:15 +0000 (21:55 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 28 Sep 2015 14:48:22 +0000 (10:48 -0400)
commit17024e772e79800917b256dd4b341878f5283f1d
treedd328680c6d064343ee0c2a71a12088f8f5e27e7
parentf7ca45e891d147ade5d6c66e225de6f120e58b7c
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: Peter Griffin <peter.griffin@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/hisilicon/hikey/hikey.c