From: Simon Glass Date: Tue, 23 Dec 2014 19:04:55 +0000 (-0700) Subject: zynq: Remove reference to gdata X-Git-Tag: v2015.04-rc1~76 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=80caacf9de77ba2f5dd06d8d1740ac59192a73d4;p=u-boot zynq: Remove reference to gdata The global_data pointer (gd) has already been set before board_init_f() is called. We should not assign it again. We should also not use gdata since it is going away. Signed-off-by: Simon Glass --- diff --git a/arch/arm/cpu/armv7/zynq/spl.c b/arch/arm/cpu/armv7/zynq/spl.c index 31627f970e..0936bdd393 100644 --- a/arch/arm/cpu/armv7/zynq/spl.c +++ b/arch/arm/cpu/armv7/zynq/spl.c @@ -20,9 +20,6 @@ void board_init_f(ulong dummy) /* Clear the BSS. */ memset(__bss_start, 0, __bss_end - __bss_start); - /* Set global data pointer. */ - gd = &gdata; - preloader_console_init(); arch_cpu_init(); board_init_r(NULL, 0);