Skip to content
Snippets Groups Projects
Commit 18a0d8eb authored by Gong Qianyu's avatar Gong Qianyu Committed by York Sun
Browse files

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: default avatarGong Qianyu <Qianyu.Gong@freescale.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent af523a0d
No related branches found
No related tags found
No related merge requests found
...@@ -44,8 +44,6 @@ u32 spl_boot_mode(void) ...@@ -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)
......
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