From: Simon Glass Date: Fri, 15 Jan 2016 05:23:23 -0700 Subject: [U-Boot] [PATCH 3/3] x86: Fix board init breakage In-Reply-To: <1452860603-10471-1-git-send-email-sjg@chromium.org> References: <1452860603-10471-1-git-send-email-sjg@chromium.org> Message-ID: <1452860603-10471-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 Commit ecc30663 ("Fix board init code to respect the C runtime environment") breaks x86. This was mentioned on https://patchwork.ozlabs.org/patch/548644 but not addressed. Correct it so that x86 boards boot again. Signed-off-by: Simon Glass --- common/init/board_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/init/board_init.c b/common/init/board_init.c index d98648e..d17bb29 100644 --- a/common/init/board_init.c +++ b/common/init/board_init.c @@ -128,7 +128,7 @@ void board_init_f_init_reserve(ulong base) *ptr++ = 0; #endif /* set GD unless architecture did it already */ -#if !defined(CONFIG_X86) && !defined(CONFIG_ARM) +#if !defined(CONFIG_ARM) arch_setup_gd(gd_ptr); #endif /* next alloc will be higher by one GD plus 16-byte alignment */ -- 2.6.0.rc2.230.g3dd15c0