aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-12-23 12:04:57 -0700
committerTom Rini <trini@ti.com>2015-01-20 10:15:33 -0500
commit10e3d7ecd34b92d1c329c39d71d8f573bf6060d5 (patch)
tree7dfbbd28ed07a23b5f413752387c3fba2b0bdfd8
parent57241b1d72dc9832a03533e0a8fabce3c5f97f6b (diff)
downloadu-boot-10e3d7ecd34b92d1c329c39d71d8f573bf6060d5.zip
u-boot-10e3d7ecd34b92d1c329c39d71d8f573bf6060d5.tar.gz
u-boot-10e3d7ecd34b92d1c329c39d71d8f573bf6060d5.tar.bz2
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 <sjg@chromium.org> Acked-by: Stefano Babic <sbabic@denx.de>
-rw-r--r--board/woodburn/woodburn.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/woodburn/woodburn.c b/board/woodburn/woodburn.c
index 2744514..3da61a4 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();