From ff79195b49c36730cb57f852214cfacfcf0f3f3a Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Thu, 30 Jun 2022 10:20:33 -0600 Subject: [PATCH] soc/intel/alderlake: Use channel 0 for memory-down Fixes detection of the on-board RAM (Samsung K4AAG165WA-BCWE) on the System76 Lemur Pro 11 (lemp11). Change-Id: I216b7b67c2674e0a14fdbbf96776759e55d0ec09 Signed-off-by: Tim Crawford --- src/soc/intel/alderlake/meminit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/intel/alderlake/meminit.c b/src/soc/intel/alderlake/meminit.c index cbc2b5ccfb..8efa09d952 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, channel 0 is always memory-down. */ + .mixed_topo = BIT(0), }, }, [MEM_TYPE_DDR5] = {