Skip to content
Snippets Groups Projects
Commit 22d69fd7 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 10e3d7ec
Branches
Tags
No related merge requests found
...@@ -219,9 +219,6 @@ void board_init_f(ulong dummy) ...@@ -219,9 +219,6 @@ void board_init_f(ulong dummy)
pinctl); pinctl);
#endif #endif
/* Set global data pointer */
gd = &gdata;
/* Clear the BSS */ /* Clear the BSS */
memset(__bss_start, 0, __bss_end - __bss_start); memset(__bss_start, 0, __bss_end - __bss_start);
......
...@@ -287,9 +287,6 @@ int board_early_init_f(void) ...@@ -287,9 +287,6 @@ int board_early_init_f(void)
#ifdef CONFIG_SPL_BUILD #ifdef CONFIG_SPL_BUILD
void board_init_f(ulong dummy) void board_init_f(ulong dummy)
{ {
/* Set global data pointer */
gd = &gdata;
/* Clear the BSS */ /* Clear the BSS */
memset(__bss_start, 0, __bss_end - __bss_start); memset(__bss_start, 0, __bss_end - __bss_start);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment