]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
integrator: stop zeroing the gd flags
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 21 Apr 2015 13:35:59 +0000 (15:35 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:30:14 +0000 (22:30 +0200)
This assignment conflicts with code that add flags with
gd->flags |= FOO prior to the execution of this function.
Seems like a historical artifact and creates bugs with
early alloc().

Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Simon Glass <sjg@chromium.org>
board/armltd/integrator/integrator.c

index f0fe0fd3aabe66ba0f096221eb8de985211e61ba..e94ac850c7515b66948a1f428cdab79619b2322c 100644 (file)
@@ -54,8 +54,6 @@ int board_init (void)
        /* adress of boot parameters */
        gd->bd->bi_boot_params = 0x00000100;
 
-       gd->flags = 0;
-
 #ifdef CONFIG_CM_REMAP
 extern void cm_remap(void);
        cm_remap();     /* remaps writeable memory to 0x00000000 */