soc/intel/tigerlake: Allow mixed topology where one slot is unfilled

Change-Id: Idf37290a410a2e31549e26e852b94f81fc939061
This commit is contained in:
Jeremy Soller
2020-12-29 11:20:53 -07:00
committed by Jeremy Soller
parent 999277b67b
commit 4596229eab

View File

@@ -378,7 +378,7 @@ void meminit_ddr4(FSP_M_CONFIG *mem_cfg, const struct mb_ddr4_cfg *board_cfg,
read_sodimm_spd(info, &spd_sodimm_blk);
if ((info->topology == MIXED) &&
(mem_cfg->MemorySpdDataLen != spd_sodimm_blk.len))
die("Mixed topology has incorrect length.\n");
printk(BIOS_ERR, "Mixed topology has incorrect length: %d != %d.\n", mem_cfg->MemorySpdDataLen, spd_sodimm_blk.len);
else
mem_cfg->MemorySpdDataLen = spd_sodimm_blk.len;
}