summaryrefslogtreecommitdiffstats
path: root/src/mainboard/portwell/m107/romstage.c
diff options
context:
space:
mode:
authorWim Vervoorn <wvervoorn@eltan.com>2019-10-31 10:13:17 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-11-01 11:43:05 +0000
commitf6671a89c573b25e47f84d72078edc7bd80903ae (patch)
tree76aa47db68f566b8d2306d8868d2873ed9d1b54d /src/mainboard/portwell/m107/romstage.c
parent34bc60b8659685f9668f38ce0d5e64f7f294b938 (diff)
downloadcoreboot-f6671a89c573b25e47f84d72078edc7bd80903ae.tar.gz
coreboot-f6671a89c573b25e47f84d72078edc7bd80903ae.tar.bz2
coreboot-f6671a89c573b25e47f84d72078edc7bd80903ae.zip
mb/portwell/m107: Add Kingston memory support
Add support for board revision 1.3 containing Kingston memory. BUG=N/A TEST=tested on portwell m107 module Change-Id: I436698ee079952580c764e840ee0ad2e18ea8d3b Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36502 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
Diffstat (limited to 'src/mainboard/portwell/m107/romstage.c')
-rw-r--r--src/mainboard/portwell/m107/romstage.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/portwell/m107/romstage.c b/src/mainboard/portwell/m107/romstage.c
index 0fe76864ecd5..1307717b55e0 100644
--- a/src/mainboard/portwell/m107/romstage.c
+++ b/src/mainboard/portwell/m107/romstage.c
@@ -33,6 +33,9 @@ void mainboard_memory_init_params(struct romstage_params *params,
if (CONFIG(ONBOARD_MEM_MICRON))
spd_index = 1;
+ else if (CONFIG(ONBOARD_MEM_KINGSTON))
+ spd_index = 2;
+
if (get_spd_cbfs_rdev(&spd_rdev, spd_index) < 0)
die("spd.bin not found\n");