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

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: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
Tested-by: default avatarNikita Kiryanov <nikita@compulab.co.il>
Acked-by: default avatarNikita Kiryanov <nikita@compulab.co.il>
parent 80caacf9
No related merge requests found
...@@ -313,7 +313,6 @@ void board_init_f(ulong dummy) ...@@ -313,7 +313,6 @@ void board_init_f(ulong dummy)
{ {
struct mxc_ccm_reg *mxc_ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR; 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 * 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 * initializes DMA very early (before all board code), so the only
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment