diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-07-30 21:54:50 +0200 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-09-09 13:50:57 +0200 |
commit | f0c3a6c4ad09210d5d4aeafe87685ee75e5683d6 (patch) | |
tree | 718adfe43a26aec122b13a5557588c523daa6791 /arch | |
parent | 47a602eab43fc2a3ce402efd5e7baee3a8a3fffb (diff) | |
download | u-boot-imx-f0c3a6c4ad09210d5d4aeafe87685ee75e5683d6.zip u-boot-imx-f0c3a6c4ad09210d5d4aeafe87685ee75e5683d6.tar.gz u-boot-imx-f0c3a6c4ad09210d5d4aeafe87685ee75e5683d6.tar.bz2 |
ARM: SPL: do not set gd again
Just before calling board_init_f, crt0.S has already
reserved space for the initial gd on the stack. There
should be no need to allocate it again.
cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/lib/spl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/lib/spl.c b/arch/arm/lib/spl.c index dfcc596..75ab546 100644 --- a/arch/arm/lib/spl.c +++ b/arch/arm/lib/spl.c @@ -28,9 +28,6 @@ void __weak board_init_f(ulong dummy) /* Clear the BSS. */ memset(__bss_start, 0, __bss_end - __bss_start); - /* Set global data pointer. */ - gd = &gdata; - board_init_r(NULL, 0); } |