From ff93c93fefbe19e0f149c70eac816a69ec011ac6 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 22 Jul 2022 09:45:45 -0600 Subject: 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 Signed-off-by: Tim Crawford Reviewed-on: https://review.coreboot.org/c/coreboot/+/52607 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/soc/intel/cannonlake/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/soc/intel') diff --git a/src/soc/intel/cannonlake/Kconfig b/src/soc/intel/cannonlake/Kconfig index c0f543e29ad9..2a66f8a245d8 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 -- cgit v1.2.3