summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2016-10-01 12:54:01 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2016-10-04 14:28:14 +0200
commit38ab6f2839b9a38fb05f56ae99f535ab3f162681 (patch)
treedb7b47da506dd173ba590e5fb20d199d7cf8f452 /src/mainboard
parenta7d002708319dd976c1475f5e096bca4fd92fb8e (diff)
downloadcoreboot-38ab6f2839b9a38fb05f56ae99f535ab3f162681.tar.xz
samsung/lumpy: Swap SPD assignments
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 <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/16845 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/samsung/lumpy/romstage.c4
1 files changed, 2 insertions, 2 deletions
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)