diff options
author | Wim Vervoorn <wvervoorn@eltan.com> | 2019-10-31 10:13:17 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-11-01 11:43:05 +0000 |
commit | f6671a89c573b25e47f84d72078edc7bd80903ae (patch) | |
tree | 76aa47db68f566b8d2306d8868d2873ed9d1b54d /src/mainboard/portwell/m107/romstage.c | |
parent | 34bc60b8659685f9668f38ce0d5e64f7f294b938 (diff) | |
download | coreboot-f6671a89c573b25e47f84d72078edc7bd80903ae.tar.xz |
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/portwell/m107/romstage.c b/src/mainboard/portwell/m107/romstage.c index 0fe76864ec..1307717b55 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"); |