From e72dc3d46abb23b15d2cca579cecb76ced248b1c Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Wed, 23 Jun 2021 13:43:36 +0200 Subject: mb/google/auron/var/lulu: Uniformise dual-channel handling Lulu is the only variant that does not disable channel 1 in pei_data when the SPD index indicates it is unused. For consistency with the other variants that use SPD files, disable channel 1 explicitly. Change-Id: I8c613c5d90075495d2f76d33abf15d74ac63c125 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/55802 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/mainboard/google/auron/variants/lulu/spd/spd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/google/auron/variants/lulu/spd/spd.c b/src/mainboard/google/auron/variants/lulu/spd/spd.c index 495bdaf545..a54fe4a7fb 100644 --- a/src/mainboard/google/auron/variants/lulu/spd/spd.c +++ b/src/mainboard/google/auron/variants/lulu/spd/spd.c @@ -35,5 +35,7 @@ void mainboard_fill_spd_data(struct pei_data *pei_data) if (!((spd_index == 0b0000) || (spd_index == 0b0011) || (spd_index == 0b1010))) { memcpy(pei_data->spd_data[1][0], pei_data->spd_data[0][0], SPD_LEN); + } else { + pei_data->dimm_channel1_disabled = 3; } } -- cgit v1.2.3