From ab93bf063bad1f82ccc727c55b8e2133a97c81f1 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Tue, 21 Apr 2015 15:35:59 +0200 Subject: 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 Signed-off-by: Linus Walleij Acked-by: Simon Glass --- board/armltd/integrator/integrator.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'board/armltd') diff --git a/board/armltd/integrator/integrator.c b/board/armltd/integrator/integrator.c index f0fe0fd..e94ac85 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 */ -- cgit v1.1