
23 Dec
2014
23 Dec
'14
8:04 p.m.
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 ---
board/woodburn/woodburn.c | 3 --- 1 file changed, 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();
--
2.2.0.rc0.207.ga3a616c