summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-06-23 13:43:36 +0200
committerPaul Fagerburg <pfagerburg@chromium.org>2021-08-06 16:28:38 +0000
commite72dc3d46abb23b15d2cca579cecb76ced248b1c (patch)
tree92f3460e8a2d01d5c2a9952150496646f6cf09eb
parent503d93d870585bbd5233d6bc00ceb0d7d51e5434 (diff)
downloadcoreboot-e72dc3d46abb23b15d2cca579cecb76ced248b1c.tar.gz
coreboot-e72dc3d46abb23b15d2cca579cecb76ced248b1c.tar.bz2
coreboot-e72dc3d46abb23b15d2cca579cecb76ced248b1c.zip
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 <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55802 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/auron/variants/lulu/spd/spd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/auron/variants/lulu/spd/spd.c b/src/mainboard/google/auron/variants/lulu/spd/spd.c
index 495bdaf545d3..a54fe4a7fb79 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;
}
}