mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-21 20:34:38 +00:00
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>
This commit is contained in:
parent
af523a0d56
commit
18a0d8eb46
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue