From 902626c23c5b56765900a7c8e3dded109f4044fa Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 16 Feb 2014 17:22:26 +0100 Subject: nehalem: Make SPD address map into parameter. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's mobo dependent. Change-Id: I7a9ba0fb7374a61178e9282acd8f10098435f1fd Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/5253 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/mainboard/lenovo/x201/romstage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mainboard') diff --git a/src/mainboard/lenovo/x201/romstage.c b/src/mainboard/lenovo/x201/romstage.c index f0874d3..07687b8 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); -- cgit v1.1