Skip to content
Snippets Groups Projects
Commit af7a5551 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

x86: Fix board init breakage

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent d830b152
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment