summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorGong Qianyu <Qianyu.Gong@freescale.com>2015-11-11 17:58:35 +0800
committerYork Sun <yorksun@freescale.com>2015-11-30 09:11:10 -0800
commit18a0d8eb46587336cc87f8f86d9db8746285ffb3 (patch)
tree391101f0fdece419498a52cabb0c41bb11ec2cbc /arch/arm
parentaf523a0d56b272bfd7d2a7ee4eccf07c7bb9529e (diff)
downloadu-boot-imx-18a0d8eb46587336cc87f8f86d9db8746285ffb3.zip
u-boot-imx-18a0d8eb46587336cc87f8f86d9db8746285ffb3.tar.gz
u-boot-imx-18a0d8eb46587336cc87f8f86d9db8746285ffb3.tar.bz2
armv8/fsl-layerscape: Remove reference to gdata
The global_data pointer (gd) has been set earlier in crt0_64.S. So there's no need to assign it again. Remove gdata since it is going away in U-Boot. Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/cpu/armv8/fsl-layerscape/spl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spl.c b/arch/arm/cpu/armv8/fsl-layerscape/spl.c
index 3dae228..f434c44 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/spl.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/spl.c
@@ -44,8 +44,6 @@ u32 spl_boot_mode(void)
#ifdef CONFIG_SPL_BUILD
void board_init_f(ulong dummy)
{
- /* Set global data pointer */
- gd = &gdata;
/* Clear global data */
memset((void *)gd, 0, sizeof(gd_t));
#if defined(CONFIG_LS2080A) || defined(CONFIG_LS2085A)