summaryrefslogtreecommitdiff
path: root/board/freescale/ls1021atwr
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-12-23 12:04:58 -0700
committerTom Rini <trini@ti.com>2015-01-20 10:15:46 -0500
commit22d69fd7a86fd5487bf4421dd777130a207b9264 (patch)
tree21875a64212236b8ede6f0201eb6cc79cdd081ba /board/freescale/ls1021atwr
parent10e3d7ecd34b92d1c329c39d71d8f573bf6060d5 (diff)
downloadu-boot-imx-22d69fd7a86fd5487bf4421dd777130a207b9264.zip
u-boot-imx-22d69fd7a86fd5487bf4421dd777130a207b9264.tar.gz
u-boot-imx-22d69fd7a86fd5487bf4421dd777130a207b9264.tar.bz2
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>
Diffstat (limited to 'board/freescale/ls1021atwr')
-rw-r--r--board/freescale/ls1021atwr/ls1021atwr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/freescale/ls1021atwr/ls1021atwr.c b/board/freescale/ls1021atwr/ls1021atwr.c
index 8ab229d..027b67e 100644
--- a/board/freescale/ls1021atwr/ls1021atwr.c
+++ b/board/freescale/ls1021atwr/ls1021atwr.c
@@ -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);