[U-Boot] [PATCH v2 5/8] ARM: hikey: Remove resetting gd->flags in board_init()

Simon Glass sjg at chromium.org
Fri Sep 18 06:04:01 CEST 2015


On 10 September 2015 at 14:55, Peter Griffin <peter.griffin at linaro.org> wrote:
> 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 at linaro.org>
> ---
>  board/hisilicon/hikey/hikey.c | 2 --
>  1 file changed, 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list