summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-05-29 00:56:25 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-06-15 22:51:11 +0000
commit0f11e03220781be849a485dcbbe8c9ff7f5ba2b6 (patch)
tree128fe4a15fb6041a3993a14d1e0c108a4b094661
parenta1dfce1ce055b853c8499185d05e4aa7ba8e0614 (diff)
downloadcoreboot-0f11e03220781be849a485dcbbe8c9ff7f5ba2b6.tar.xz
haswell boards: Factor out MAX_CPUS
ULT only has 4 threads, but we are not changing it here to preserve binary reproducibility. Change-Id: I041c5dff2de514244f9c919c4c475cca979c34ce Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41842 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/cpu/intel/haswell/Kconfig4
-rw-r--r--src/mainboard/asrock/b85m_pro4/Kconfig4
-rw-r--r--src/mainboard/asrock/h81m-hds/Kconfig4
-rw-r--r--src/mainboard/google/beltino/Kconfig4
-rw-r--r--src/mainboard/google/slippy/Kconfig4
-rw-r--r--src/mainboard/lenovo/t440p/Kconfig4
-rw-r--r--src/mainboard/supermicro/x10slm-f/Kconfig4
7 files changed, 4 insertions, 24 deletions
diff --git a/src/cpu/intel/haswell/Kconfig b/src/cpu/intel/haswell/Kconfig
index af94314f95..54cb99fb9e 100644
--- a/src/cpu/intel/haswell/Kconfig
+++ b/src/cpu/intel/haswell/Kconfig
@@ -34,4 +34,8 @@ config IED_REGION_SIZE
config SMM_RESERVED_SIZE
hex
default 0x100000
+
+config MAX_CPUS
+ int
+ default 8
endif
diff --git a/src/mainboard/asrock/b85m_pro4/Kconfig b/src/mainboard/asrock/b85m_pro4/Kconfig
index ecb2ba949e..67206a988f 100644
--- a/src/mainboard/asrock/b85m_pro4/Kconfig
+++ b/src/mainboard/asrock/b85m_pro4/Kconfig
@@ -26,8 +26,4 @@ config MAINBOARD_PART_NUMBER
string
default "B85M Pro4"
-config MAX_CPUS
- int
- default 8
-
endif
diff --git a/src/mainboard/asrock/h81m-hds/Kconfig b/src/mainboard/asrock/h81m-hds/Kconfig
index 9137135200..62036108dd 100644
--- a/src/mainboard/asrock/h81m-hds/Kconfig
+++ b/src/mainboard/asrock/h81m-hds/Kconfig
@@ -33,10 +33,6 @@ config MAINBOARD_PART_NUMBER
string
default "H81M-HDS"
-config MAX_CPUS
- int
- default 8
-
#
# Since this is a desktop board, the assumption is made that most users
# would want CMOS configuration enabled by default.
diff --git a/src/mainboard/google/beltino/Kconfig b/src/mainboard/google/beltino/Kconfig
index f50d49c550..1e4fef6891 100644
--- a/src/mainboard/google/beltino/Kconfig
+++ b/src/mainboard/google/beltino/Kconfig
@@ -44,10 +44,6 @@ config MAINBOARD_FAMILY
string
default "Google_Beltino"
-config MAX_CPUS
- int
- default 8
-
config VGA_BIOS_FILE
string
default "pci8086,0406.rom"
diff --git a/src/mainboard/google/slippy/Kconfig b/src/mainboard/google/slippy/Kconfig
index 21659ab675..1f9c61d0c8 100644
--- a/src/mainboard/google/slippy/Kconfig
+++ b/src/mainboard/google/slippy/Kconfig
@@ -52,10 +52,6 @@ config OVERRIDE_DEVICETREE
string
default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb"
-config MAX_CPUS
- int
- default 8
-
config VGA_BIOS_FILE
string
default "pci8086,0406.rom"
diff --git a/src/mainboard/lenovo/t440p/Kconfig b/src/mainboard/lenovo/t440p/Kconfig
index adb1722d66..3ca4fab0a2 100644
--- a/src/mainboard/lenovo/t440p/Kconfig
+++ b/src/mainboard/lenovo/t440p/Kconfig
@@ -59,10 +59,6 @@ config VGA_BIOS_ID
string
default "8086,0416"
-config MAX_CPUS
- int
- default 8
-
config USBDEBUG_HCD_INDEX
int
default 2
diff --git a/src/mainboard/supermicro/x10slm-f/Kconfig b/src/mainboard/supermicro/x10slm-f/Kconfig
index a1b78f2d1e..e0cefcefb7 100644
--- a/src/mainboard/supermicro/x10slm-f/Kconfig
+++ b/src/mainboard/supermicro/x10slm-f/Kconfig
@@ -29,8 +29,4 @@ config MAINBOARD_PART_NUMBER
string
default "X10SLM+-F"
-config MAX_CPUS
- int
- default 8
-
endif