imx: ls102xa: 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>
This commit is contained in:
Simon Glass 2014-12-23 12:04:58 -07:00 committed by Tom Rini
parent 10e3d7ecd3
commit 22d69fd7a8
2 changed files with 0 additions and 6 deletions

View File

@ -219,9 +219,6 @@ void board_init_f(ulong dummy)
pinctl);
#endif
/* Set global data pointer */
gd = &gdata;
/* Clear the BSS */
memset(__bss_start, 0, __bss_end - __bss_start);

View File

@ -287,9 +287,6 @@ int board_early_init_f(void)
#ifdef CONFIG_SPL_BUILD
void board_init_f(ulong dummy)
{
/* Set global data pointer */
gd = &gdata;
/* Clear the BSS */
memset(__bss_start, 0, __bss_end - __bss_start);