diff mbox

[U-Boot,v2,2/3] Revert "Revert "ARM: SPL: do not set gd again""

Message ID 1422291328-23909-3-git-send-email-sjg@chromium.org
State Superseded
Delegated to: Albert ARIBAUD
Headers show

Commit Message

Simon Glass Jan. 26, 2015, 4:55 p.m. UTC
This reverts commit 1ee30aeed47724eb7c8f145f064b8d03cd294808.

We should now be able to avoid the global_data fiddling that was previously
required for some boards. So re-apply this patch that was reverted.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

Changes in v2: None

 arch/arm/lib/spl.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox

Patch

diff --git a/arch/arm/lib/spl.c b/arch/arm/lib/spl.c
index c41850a..7c9afbd 100644
--- a/arch/arm/lib/spl.c
+++ b/arch/arm/lib/spl.c
@@ -33,9 +33,6 @@  void __weak board_init_f(ulong dummy)
 	/* Clear the BSS. */
 	memset(__bss_start, 0, __bss_end - __bss_start);
 
-	/* TODO: Remove settings of the global data pointer here */
-	gd = &gdata;
-
 	board_init_r(NULL, 0);
 }