From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Grinberg Date: Wed, 24 Dec 2014 08:50:33 +0200 Subject: [U-Boot] [PATCH 6/9] imx: cm_fx6: Remove reference to gdata In-Reply-To: <1419361499-31967-7-git-send-email-sjg@chromium.org> References: <1419361499-31967-1-git-send-email-sjg@chromium.org> <1419361499-31967-7-git-send-email-sjg@chromium.org> Message-ID: <549A6239.2020909@compulab.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/23/14 21:04, Simon Glass wrote: > 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 Acked-by: Igor Grinberg > --- > > board/compulab/cm_fx6/spl.c | 1 - > 1 file changed, 1 deletion(-) > > 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 > -- Regards, Igor.