summaryrefslogtreecommitdiff
path: root/board/compulab/cm_fx6/spl.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-12-23 12:04:56 -0700
committerTom Rini <trini@ti.com>2015-01-20 10:15:28 -0500
commit57241b1d72dc9832a03533e0a8fabce3c5f97f6b (patch)
tree835ad32f300d47b06bf71cf6c65d2ead325246dc /board/compulab/cm_fx6/spl.c
parent80caacf9de77ba2f5dd06d8d1740ac59192a73d4 (diff)
imx: cm_fx6: 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: Igor Grinberg <grinberg@compulab.co.il> Tested-by: Nikita Kiryanov <nikita@compulab.co.il> Acked-by: Nikita Kiryanov <nikita@compulab.co.il>
Diffstat (limited to 'board/compulab/cm_fx6/spl.c')
-rw-r--r--board/compulab/cm_fx6/spl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/compulab/cm_fx6/spl.c b/board/compulab/cm_fx6/spl.c
index 6fe937b418..5b4b76f5b7 100644
--- a/board/compulab/cm_fx6/spl.c
+++ b/board/compulab/cm_fx6/spl.c
@@ -313,7 +313,6 @@ void board_init_f(ulong dummy)
{
struct mxc_ccm_reg *mxc_ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR;
- gd = &gdata;
/*
* We don't use DMA in SPL, but we do need it in U-Boot. U-Boot
* initializes DMA very early (before all board code), so the only