summaryrefslogtreecommitdiff
path: root/board/armltd
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-04-21 15:35:59 +0200
committerTom Rini <trini@konsulko.com>2015-04-23 08:52:27 -0400
commitab93bf063bad1f82ccc727c55b8e2133a97c81f1 (patch)
tree9d3c27daaa8fe913d7a78c08d16fabd7e64d9214 /board/armltd
parentf39ff195af12d10b508d76830ab0db531dce863e (diff)
integrator: stop zeroing the gd flags
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>
Diffstat (limited to 'board/armltd')
-rw-r--r--board/armltd/integrator/integrator.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/armltd/integrator/integrator.c b/board/armltd/integrator/integrator.c
index f0fe0fd3aab..e94ac850c75 100644
--- a/board/armltd/integrator/integrator.c
+++ b/board/armltd/integrator/integrator.c
@@ -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 */