aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-05-29 00:50:13 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-06-15 22:49:59 +0000
commite5a7a1f31428c8eaad6c71a01c86645cf435a0fe (patch)
tree34f8f5becc03f801127a86e5e9fb20012ffc4a99
parentd71754d1b9ba5bb347a9acf10c9233b405f0121d (diff)
arrandale boards: Factor out MAX_CPUS
Arrandale CPUs have at most 4 threads. Change-Id: Ifecbf5583011ff5e36c576d582a6276bc9b72803 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41840 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/cpu/intel/model_2065x/Kconfig4
-rw-r--r--src/mainboard/lenovo/x201/Kconfig4
-rw-r--r--src/mainboard/packardbell/ms2290/Kconfig4
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