diff options
Diffstat (limited to 'arch/x86/lib/board.c')
| -rw-r--r-- | arch/x86/lib/board.c | 11 | 
1 files changed, 6 insertions, 5 deletions
| diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c index 2441a66ae..f372898f6 100644 --- a/arch/x86/lib/board.c +++ b/arch/x86/lib/board.c @@ -38,6 +38,7 @@  #include <asm/u-boot-x86.h>  #include <asm/relocate.h>  #include <asm/processor.h> +#include <asm/sections.h>  #include <asm/init_helpers.h>  #include <asm/init_wrappers.h> @@ -163,13 +164,13 @@ init_fnc_t *init_sequence_r[] = {  #ifndef CONFIG_SYS_NO_FLASH  	flash_init_r,  #endif -#ifdef CONFIG_SPI -	init_func_spi; -#endif -	env_relocate_r,  #ifdef CONFIG_PCI  	pci_init_r,  #endif +#ifdef CONFIG_SPI +	init_func_spi, +#endif +	env_relocate_r,  	stdio_init,  	jumptable_init_r,  	console_init_r, @@ -219,7 +220,7 @@ static void do_init_loop(init_fnc_t **init_fnc_ptr)  void board_init_f(ulong boot_flags)  { -	gd->fdt_blob = gd->arch.new_fdt = NULL; +	gd->fdt_blob = gd->new_fdt = NULL;  	gd->flags = boot_flags;  	do_init_loop(init_sequence_f); |