aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2022-06-30 10:20:33 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-03-04 02:06:33 +0000
commit8509c25eece80b3238b98b1415284239037bc865 (patch)
tree22844defc4adaf87453fadbdfb333ccee76b366e
parentd7a476ccbf6a4477a6f83c7d9113588edb6617a6 (diff)
soc/intel/alderlake: Allow channel 0 for memory-down
Fixes detection of the on-board RAM (Samsung K4AAG165WA-BCWE) on the System76 Lemur Pro 11 (lemp11). Change-Id: Ibe56c0f2b81d660303429cd2e21a7bb6cd433da5 Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/65567 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <inforichland@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Jeremy Soller <jeremy@system76.com>
-rw-r--r--src/soc/intel/alderlake/meminit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/alderlake/meminit.c b/src/soc/intel/alderlake/meminit.c
index cbc2b5ccfb..862a322a53 100644
--- a/src/soc/intel/alderlake/meminit.c
+++ b/src/soc/intel/alderlake/meminit.c
@@ -54,8 +54,8 @@ static const struct soc_mem_cfg soc_mem_cfg[] = {
* configuration.
*/
.half_channel = BIT(0),
- /* In mixed topologies, channel 1 is always memory-down. */
- .mixed_topo = BIT(1),
+ /* In mixed topologies, either channel 0 or 1 can be memory-down. */
+ .mixed_topo = BIT(0) | BIT(1),
},
},
[MEM_TYPE_DDR5] = {