diff options
author | Gong Qianyu | 2015-11-11 17:58:35 +0800 |
---|---|---|
committer | York Sun | 2015-11-30 09:11:10 -0800 |
commit | 18a0d8eb46587336cc87f8f86d9db8746285ffb3 (patch) | |
tree | 391101f0fdece419498a52cabb0c41bb11ec2cbc /arch/arm/cpu/armv8 | |
parent | af523a0d56b272bfd7d2a7ee4eccf07c7bb9529e (diff) |
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/cpu/armv8')
-rw-r--r-- | arch/arm/cpu/armv8/fsl-layerscape/spl.c | 2 |
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 3dae228fed3..f434c443ed5 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) |