mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
d830b1520a
commit
af7a55514a
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue