summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x201
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-02-16 17:22:26 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-02-20 23:18:10 +0100
commit902626c23c5b56765900a7c8e3dded109f4044fa (patch)
treee967b1b7bb6623e4600ca8d79c67d181b5c15898 /src/mainboard/lenovo/x201
parent2ab8ec7cfb1c930fc188d6ac13040b3fd753c476 (diff)
downloadcoreboot-902626c23c5b56765900a7c8e3dded109f4044fa.tar.xz
nehalem: Make SPD address map into parameter.
It's mobo dependent. Change-Id: I7a9ba0fb7374a61178e9282acd8f10098435f1fd Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/5253 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard/lenovo/x201')
-rw-r--r--src/mainboard/lenovo/x201/romstage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/x201/romstage.c b/src/mainboard/lenovo/x201/romstage.c
index f0874d3fab..07687b8448 100644
--- a/src/mainboard/lenovo/x201/romstage.c
+++ b/src/mainboard/lenovo/x201/romstage.c
@@ -207,6 +207,7 @@ void main(unsigned long bist)
{
u32 reg32;
int s3resume = 0;
+ const u8 spd_addrmap[4] = { 0x50, 0, 0x51, 0 };
timestamp_init(rdtsc ());
@@ -286,7 +287,7 @@ void main(unsigned long bist)
timestamp_add_now(TS_BEFORE_INITRAM);
- raminit(s3resume);
+ raminit(s3resume, spd_addrmap);
timestamp_add_now(TS_AFTER_INITRAM);