summaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-07-22 09:45:45 -0600
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-07-23 19:48:56 +0000
commitff93c93fefbe19e0f149c70eac816a69ec011ac6 (patch)
treefa8803ae8aace26c3ba9b33489804716f4af7d1f /src/soc/intel/cannonlake
parent4cd1711cc1ea00e9bd5084fcb41a37f5c56c3c51 (diff)
soc/intel/cannonlake: Set MAX_CPUS based on the SoC and PCH
Set the default value for MAX_CPUS in the SoC config and drop it from the mainboards where it is set to those values. Change-Id: Ib56fdcfe770ef736a2c5e183481d9f9966570e6d Signed-off-by: Felix Singer <felixsinger@posteo.net> Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/52607 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/cannonlake')
-rw-r--r--src/soc/intel/cannonlake/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/soc/intel/cannonlake/Kconfig b/src/soc/intel/cannonlake/Kconfig
index c0f543e29a..2a66f8a245 100644
--- a/src/soc/intel/cannonlake/Kconfig
+++ b/src/soc/intel/cannonlake/Kconfig
@@ -119,7 +119,10 @@ config CPU_SPECIFIC_OPTIONS
config MAX_CPUS
int
- default 12
+ default 20 if SOC_INTEL_CANNONLAKE_PCH_H && SOC_INTEL_COMETLAKE
+ default 16 if SOC_INTEL_CANNONLAKE_PCH_H && SOC_INTEL_COFFEELAKE
+ default 12 if !SOC_INTEL_CANNONLAKE_PCH_H && SOC_INTEL_COMETLAKE
+ default 8
config DIMM_SPD_SIZE
default 512