diff options
author | Simon Glass <sjg@chromium.org> | 2014-12-23 12:04:55 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-01-20 10:15:15 -0500 |
commit | 80caacf9de77ba2f5dd06d8d1740ac59192a73d4 (patch) | |
tree | 164f8843f2e218a8b7b96ab31a5fd53e3d627f4e /arch/arm | |
parent | 2b7c0f30813d11adeb1ac27bef45688b3dfd9e86 (diff) | |
download | u-boot-imx-80caacf9de77ba2f5dd06d8d1740ac59192a73d4.zip u-boot-imx-80caacf9de77ba2f5dd06d8d1740ac59192a73d4.tar.gz u-boot-imx-80caacf9de77ba2f5dd06d8d1740ac59192a73d4.tar.bz2 |
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 <sjg@chromium.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/cpu/armv7/zynq/spl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/cpu/armv7/zynq/spl.c b/arch/arm/cpu/armv7/zynq/spl.c index 31627f9..0936bdd 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); |