From e5a7a1f31428c8eaad6c71a01c86645cf435a0fe Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Fri, 29 May 2020 00:50:13 +0200 Subject: [PATCH] arrandale boards: Factor out MAX_CPUS Arrandale CPUs have at most 4 threads. Change-Id: Ifecbf5583011ff5e36c576d582a6276bc9b72803 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/41840 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/cpu/intel/model_2065x/Kconfig | 4 ++++ src/mainboard/lenovo/x201/Kconfig | 4 ---- src/mainboard/packardbell/ms2290/Kconfig | 4 ---- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/cpu/intel/model_2065x/Kconfig b/src/cpu/intel/model_2065x/Kconfig index 9acde42bcd..39beb227bd 100644 --- a/src/cpu/intel/model_2065x/Kconfig +++ b/src/cpu/intel/model_2065x/Kconfig @@ -29,4 +29,8 @@ config SMM_RESERVED_SIZE hex default 0x100000 +config MAX_CPUS + int + default 4 + endif diff --git a/src/mainboard/lenovo/x201/Kconfig b/src/mainboard/lenovo/x201/Kconfig index d73eac3c7d..e7daadcfa7 100644 --- a/src/mainboard/lenovo/x201/Kconfig +++ b/src/mainboard/lenovo/x201/Kconfig @@ -58,10 +58,6 @@ config DRAM_RESET_GATE_GPIO int default 10 -config MAX_CPUS - int - default 4 - # Without the Intel ME's EFFS partition some PCIe devices (like the USB and SATA # controllers) don't work as expected config ME_CLEANER_ARGS diff --git a/src/mainboard/packardbell/ms2290/Kconfig b/src/mainboard/packardbell/ms2290/Kconfig index 4fc971f0ae..b499fbb1db 100644 --- a/src/mainboard/packardbell/ms2290/Kconfig +++ b/src/mainboard/packardbell/ms2290/Kconfig @@ -34,8 +34,4 @@ config DRAM_RESET_GATE_GPIO int default 60 -config MAX_CPUS - int - default 4 - endif