浏览代码

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>
Gong Qianyu 9 年之前
父节点
当前提交
18a0d8eb46
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      arch/arm/cpu/armv8/fsl-layerscape/spl.c

+ 0 - 2
arch/arm/cpu/armv8/fsl-layerscape/spl.c

@@ -44,8 +44,6 @@ u32 spl_boot_mode(void)
 #ifdef CONFIG_SPL_BUILD
 #ifdef CONFIG_SPL_BUILD
 void board_init_f(ulong dummy)
 void board_init_f(ulong dummy)
 {
 {
-	/* Set global data pointer */
-	gd = &gdata;
 	/* Clear global data */
 	/* Clear global data */
 	memset((void *)gd, 0, sizeof(gd_t));
 	memset((void *)gd, 0, sizeof(gd_t));
 #if defined(CONFIG_LS2080A) || defined(CONFIG_LS2085A)
 #if defined(CONFIG_LS2080A) || defined(CONFIG_LS2085A)