armv8/fsl-layerscape: Remove reference to gdata
[oweals/u-boot.git] / arch / arm / cpu / armv8 / fsl-layerscape / spl.c
index 3dae228fed3a3b9543ea88ecb3f1eb3b582f6839..f434c443ed5176940645f5edf7ac8c0479d8eebe 100644 (file)
@@ -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)