diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2014-12-10 20:42:58 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-04-15 21:56:15 +0200 |
commit | ef77f873721afc52d988c0291e26ed90dbc8ea55 (patch) | |
tree | 30c8f4397e3ef6754d5240a38088033eb8655096 /src/mainboard | |
parent | 6fe4e5e34c584f7f4ad2c071b311e6b6a878b623 (diff) | |
download | coreboot-ef77f873721afc52d988c0291e26ed90dbc8ea55.tar.xz |
ipq8064: add DRAM initialization code
Read two blobs from CBFS: cdt.mbn (memory configuration descriptor)
and ddr.mbn (actual memory initialization code).
Pointer to CDT which starts right above the MBN header is passed to
the memory initialization routine. Zero return value means memory
initialization succeeded.
BRANCH=storm
BUG=chrome-os-partner:34161
TEST=with upcoming patches memory initialization succeeds.
Change-Id: Ia0903dc4446c03f7f0dc3f4cc3a34e90a8064afc
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 1d79dadd7d47dd6d01e031bc77810c9e85dd854b
Original-Change-Id: Ib5a7e4fe0eb24a7bd090ec3553c57cd1b7e41512
Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/234644
Original-Reviewed-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/9686
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/storm/romstage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/storm/romstage.c b/src/mainboard/google/storm/romstage.c index fb5b42e869..be8656b754 100644 --- a/src/mainboard/google/storm/romstage.c +++ b/src/mainboard/google/storm/romstage.c @@ -20,10 +20,12 @@ #include <cbmem.h> #include <console/console.h> #include <program_loading.h> +#include <soc/soc_services.h> void main(void) { console_init(); cbmem_initialize_empty(); + initialize_dram(); run_ramstage(); } |