From c869e2ac46a7a8ca00d1fd24c6399ca8e256e244 Mon Sep 17 00:00:00 2001 From: Graeme Russ Date: Sat, 12 Feb 2011 15:11:59 +1100 Subject: x86: Move call to dram_init_f into board_init_f --- arch/i386/lib/board.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/i386/lib') diff --git a/arch/i386/lib/board.c b/arch/i386/lib/board.c index 60fa982e34..0b26c83133 100644 --- a/arch/i386/lib/board.c +++ b/arch/i386/lib/board.c @@ -197,6 +197,9 @@ void board_init_f(ulong boot_flags) gd->flags = boot_flags; + if (dram_init_f() != 0) + hang(); + /* Calculate destination RAM Address and relocation offset */ dest_addr = (void *)gd->ram_size; addr_sp = dest_addr; -- cgit