From 38ab6f2839b9a38fb05f56ae99f535ab3f162681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 1 Oct 2016 12:54:01 +0300 Subject: samsung/lumpy: Swap SPD assignments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On-board memory is on channel 1. This fixes native raminit with 4GiB SO-DIMM installed. Change-Id: If1b94e050d7e8d0dbd349c0415a182730aa5fa90 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/16845 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph Reviewed-by: Paul Menzel --- src/mainboard/samsung/lumpy/romstage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/samsung/lumpy/romstage.c b/src/mainboard/samsung/lumpy/romstage.c index 918c73a89f..93f2059ca8 100644 --- a/src/mainboard/samsung/lumpy/romstage.c +++ b/src/mainboard/samsung/lumpy/romstage.c @@ -239,9 +239,9 @@ const struct southbridge_usb_port mainboard_usb_ports[] = { void mainboard_get_spd(spd_raw_data *spd) { /* get onboard dimm spd */ - memcpy(&spd[0], locate_spd(), 256); + memcpy(&spd[2], locate_spd(), 256); /* read removable dimm spd */ - read_spd(&spd[2], 0x50); + read_spd(&spd[0], 0x50); } void mainboard_early_init(int s3resume) -- cgit v1.2.3