From: Simon Glass Date: Mon, 26 Jan 2015 09:55:27 -0700 Subject: [U-Boot] [PATCH v2 2/3] Revert "Revert "ARM: SPL: do not set gd again"" In-Reply-To: <1422291328-23909-1-git-send-email-sjg@chromium.org> References: <1422291328-23909-1-git-send-email-sjg@chromium.org> Message-ID: <1422291328-23909-3-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- Changes in v2: None arch/arm/lib/spl.c | 3 --- 1 file changed, 3 deletions(-) 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); } -- 2.2.0.rc0.207.ga3a616c