diff options
Diffstat (limited to 'arch/x86/lib/board.c')
-rw-r--r-- | arch/x86/lib/board.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c index 22bc26dde9..452e5d8262 100644 --- a/arch/x86/lib/board.c +++ b/arch/x86/lib/board.c @@ -32,11 +32,13 @@ */ #include <common.h> +#include <fdtdec.h> #include <watchdog.h> #include <stdio_dev.h> #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> @@ -131,6 +133,7 @@ init_fnc_t *init_sequence_f[] = { init_fnc_t *init_sequence_f_r[] = { init_cache_f_r, copy_uboot_to_ram, + copy_fdt_to_ram, clear_bss, do_elf_reloc_fixups, @@ -217,6 +220,7 @@ static void do_init_loop(init_fnc_t **init_fnc_ptr) void board_init_f(ulong boot_flags) { + gd->fdt_blob = gd->new_fdt = NULL; gd->flags = boot_flags; do_init_loop(init_sequence_f); |