diff options
author | Simon Glass <sjg@chromium.org> | 2014-12-23 12:04:56 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-01-20 10:15:28 -0500 |
commit | 57241b1d72dc9832a03533e0a8fabce3c5f97f6b (patch) | |
tree | 835ad32f300d47b06bf71cf6c65d2ead325246dc /board/compulab | |
parent | 80caacf9de77ba2f5dd06d8d1740ac59192a73d4 (diff) | |
download | u-boot-imx-57241b1d72dc9832a03533e0a8fabce3c5f97f6b.zip u-boot-imx-57241b1d72dc9832a03533e0a8fabce3c5f97f6b.tar.gz u-boot-imx-57241b1d72dc9832a03533e0a8fabce3c5f97f6b.tar.bz2 |
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')
-rw-r--r-- | board/compulab/cm_fx6/spl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/board/compulab/cm_fx6/spl.c b/board/compulab/cm_fx6/spl.c index 6fe937b..5b4b76f 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 |