diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2015-09-10 21:55:15 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-09-28 10:48:22 -0400 |
commit | 17024e772e79800917b256dd4b341878f5283f1d (patch) | |
tree | dd328680c6d064343ee0c2a71a12088f8f5e27e7 /board/hisilicon | |
parent | f7ca45e891d147ade5d6c66e225de6f120e58b7c (diff) |
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>
Diffstat (limited to 'board/hisilicon')
-rw-r--r-- | board/hisilicon/hikey/hikey.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/hisilicon/hikey/hikey.c b/board/hisilicon/hikey/hikey.c index 8c1271b4a4f..99487472179 100644 --- a/board/hisilicon/hikey/hikey.c +++ b/board/hisilicon/hikey/hikey.c @@ -269,8 +269,6 @@ int misc_init_r(void) int board_init(void) { - gd->flags = 0; - return 0; } |