projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b7c0f3
)
zynq: Remove reference to gdata
author
Simon Glass
<sjg@chromium.org>
Tue, 23 Dec 2014 19:04:55 +0000
(12:04 -0700)
committer
Tom Rini
<trini@ti.com>
Tue, 20 Jan 2015 15:15:15 +0000
(10:15 -0500)
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>
arch/arm/cpu/armv7/zynq/spl.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/zynq/spl.c
b/arch/arm/cpu/armv7/zynq/spl.c
index 31627f970efbec334262c0dcfc54e10a9794a668..0936bdd393bee8398e8ab246b4d1db82379b6c7f 100644
(file)
--- 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);