soc/intel/common/memory: Don't die if SPD lengths differ

Revert from die() to printk() if SPD lengths are different for mixed
memory topology. Fixes booting system76/lemp10 when a DIMM is not
present.

Change-Id: Iec8dd693353abbe5047eb3d108e449209bae9436
Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford 2022-01-05 07:30:43 -07:00 committed by Jeremy Soller
parent 2018180c47
commit 43019aa7da

View File

@ -164,7 +164,8 @@ void mem_populate_channel_data(const struct soc_mem_cfg *soc_mem_cfg,
* topology.
*/
if (spd_md_len != spd_dimm_len)
die("Length of SPD does not match for mixed topology!\n");
printk(BIOS_ERR, "Mixed topology has incorrect length: %d != %d\n",
(int)spd_md_len, (int)spd_dimm_len);
data->spd_len = spd_md_len;
}