From: Simon Glass Date: Tue, 23 Dec 2014 19:04:57 +0000 (-0700) Subject: imx: woodburn: Remove reference to gdata X-Git-Tag: v2015.04-rc1~74 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=10e3d7ecd34b92d1c329c39d71d8f573bf6060d5;p=u-boot imx: woodburn: Remove reference to gdata The global_data pointer (gd) has already been set before board_init_f() is called. We should not assign it again. We should also not use gdata since it is going away. Signed-off-by: Simon Glass Acked-by: Stefano Babic --- diff --git a/board/woodburn/woodburn.c b/board/woodburn/woodburn.c index 2744514435..3da61a4c3d 100644 --- a/board/woodburn/woodburn.c +++ b/board/woodburn/woodburn.c @@ -137,9 +137,6 @@ void board_init_f(ulong dummy) /* Clear the BSS. */ memset(__bss_start, 0, __bss_end - __bss_start); - /* Set global data pointer. */ - gd = &gdata; - preloader_console_init(); timer_init();