From e9787ff61f81054bfd0c3e3ad214484e1bdf4db3 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sat, 5 Aug 2017 19:26:29 +0200 Subject: mb/lenovo/x1_carbon_gen1: Add 4GiB SPD index 2 Change-Id: I218fd48c8e29563ef089d60ebde7bc36ac8ab189 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/20887 Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens --- src/mainboard/lenovo/x1_carbon_gen1/romstage.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mainboard/lenovo/x1_carbon_gen1/romstage.c') diff --git a/src/mainboard/lenovo/x1_carbon_gen1/romstage.c b/src/mainboard/lenovo/x1_carbon_gen1/romstage.c index a07df70508..5f7b82e81a 100644 --- a/src/mainboard/lenovo/x1_carbon_gen1/romstage.c +++ b/src/mainboard/lenovo/x1_carbon_gen1/romstage.c @@ -108,8 +108,9 @@ void mainboard_get_spd(spd_raw_data *spd, bool id_only) * 1 1 reserved */ - /* we only support elpida. Because the spd data is missing */ - if (spd_index != 0) + /* We only support elpida and samsung. + Because the spd data is missing. */ + if (spd_index != 0 && spd_index != 2) die("Unsupported Memory. Please add your SPD dump to coreboot."); memory = get_spd_data(spd_index); -- cgit v1.2.3