summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/board.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-03-11 06:49:53 +0000
committerTom Rini <trini@ti.com>2013-03-15 16:13:59 -0400
commit1938f4a5b62fc03c52b47697a89b2bb47b77c90c (patch)
treede3f0cdbd68d2f74dff99aa134ba080dd5891bdc /arch/x86/lib/board.c
parenta6741bce507151f561250a00f28bcbfb2372ba02 (diff)
downloadblackbird-obmc-uboot-1938f4a5b62fc03c52b47697a89b2bb47b77c90c.tar.gz
blackbird-obmc-uboot-1938f4a5b62fc03c52b47697a89b2bb47b77c90c.zip
Introduce generic pre-relocation board_f.c
This file handles common pre-relocation init for boards which use the generic framework. It starts up the console, DRAM, performs relocation and then jumps to post-relocation init. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Wolfgang Denk <wd@denx.de> Acked-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'arch/x86/lib/board.c')
-rw-r--r--arch/x86/lib/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c
index 2441a66ae2..555301a24e 100644
--- a/arch/x86/lib/board.c
+++ b/arch/x86/lib/board.c
@@ -219,7 +219,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);
OpenPOWER on IntegriCloud