mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
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>
This commit is contained in:
parent
57241b1d72
commit
10e3d7ecd3
1 changed files with 0 additions and 3 deletions
|
@ -137,9 +137,6 @@ void board_init_f(ulong dummy)
|
||||||
/* Clear the BSS. */
|
/* Clear the BSS. */
|
||||||
memset(__bss_start, 0, __bss_end - __bss_start);
|
memset(__bss_start, 0, __bss_end - __bss_start);
|
||||||
|
|
||||||
/* Set global data pointer. */
|
|
||||||
gd = &gdata;
|
|
||||||
|
|
||||||
preloader_console_init();
|
preloader_console_init();
|
||||||
timer_init();
|
timer_init();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue