]> git.sur5r.net Git - u-boot/commitdiff
imx: woodburn: Remove reference to gdata
authorSimon Glass <sjg@chromium.org>
Tue, 23 Dec 2014 19:04:57 +0000 (12:04 -0700)
committerTom Rini <trini@ti.com>
Tue, 20 Jan 2015 15:15:33 +0000 (10:15 -0500)
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 <sjg@chromium.org>
Acked-by: Stefano Babic <sbabic@denx.de>
board/woodburn/woodburn.c

index 2744514435fccba72fc204d300db8276211abaff..3da61a4c3d333b4b750effdd9fe63e584cc35937 100644 (file)
@@ -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();