diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-02-12 15:11:59 +1100 |
---|---|---|
committer | Graeme Russ <graeme.russ@gmail.com> | 2011-02-12 15:11:59 +1100 |
commit | c869e2ac46a7a8ca00d1fd24c6399ca8e256e244 (patch) | |
tree | 3b37dc4e76c760c3b000868659222cf5ec02a37a /arch/i386/lib/board.c | |
parent | fb0029088e5b9d3f31870715ad23dda4a2c6e7f3 (diff) | |
download | u-boot-imx-c869e2ac46a7a8ca00d1fd24c6399ca8e256e244.zip u-boot-imx-c869e2ac46a7a8ca00d1fd24c6399ca8e256e244.tar.gz u-boot-imx-c869e2ac46a7a8ca00d1fd24c6399ca8e256e244.tar.bz2 |
x86: Move call to dram_init_f into board_init_f
Diffstat (limited to 'arch/i386/lib/board.c')
-rw-r--r-- | arch/i386/lib/board.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/i386/lib/board.c b/arch/i386/lib/board.c index 60fa982..0b26c83 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; |