瀏覽代碼

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>
Linus Walleij 10 年之前
父節點
當前提交
ab93bf063b
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      board/armltd/integrator/integrator.c

+ 0 - 2
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 */