summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-05-29 00:53:13 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-06-15 22:50:39 +0000
commita1dfce1ce055b853c8499185d05e4aa7ba8e0614 (patch)
tree2156e88d3ed3037e5b531fe1506655bdc3d61bc8
parente5a7a1f31428c8eaad6c71a01c86645cf435a0fe (diff)
downloadcoreboot-a1dfce1ce055b853c8499185d05e4aa7ba8e0614.tar.xz
x4x boards: Factor out MAX_CPUS
LGA775 CPUs can have at most 4 threads, and Eaglelake supports them. As this socket is also used by other chipsets, temporarily place this symbol into the northbridge scope until all chipsets are factored out. Change-Id: I6e01363d995e135815cc70779e0cd5baf806cf60 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41841 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/mainboard/asrock/g41c-gs/Kconfig4
-rw-r--r--src/mainboard/asus/p5qc/Kconfig4
-rw-r--r--src/mainboard/asus/p5ql-em/Kconfig4
-rw-r--r--src/mainboard/asus/p5qpl-am/Kconfig4
-rw-r--r--src/mainboard/foxconn/g41s-k/Kconfig4
-rw-r--r--src/mainboard/gigabyte/ga-g41m-es2l/Kconfig4
-rw-r--r--src/mainboard/intel/dg41wv/Kconfig4
-rw-r--r--src/mainboard/intel/dg43gt/Kconfig4
-rw-r--r--src/mainboard/lenovo/thinkcentre_a58/Kconfig4
-rw-r--r--src/northbridge/intel/x4x/Kconfig4
10 files changed, 4 insertions, 36 deletions
diff --git a/src/mainboard/asrock/g41c-gs/Kconfig b/src/mainboard/asrock/g41c-gs/Kconfig
index 7ffe62f4d3..900bfefe53 100644
--- a/src/mainboard/asrock/g41c-gs/Kconfig
+++ b/src/mainboard/asrock/g41c-gs/Kconfig
@@ -46,10 +46,6 @@ config DEVICETREE
string
default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
-config MAX_CPUS
- int
- default 4
-
# Override the default variant behavior, since the data.vbt is the same
config INTEL_GMA_VBT_FILE
default "src/mainboard/$(MAINBOARDDIR)/data.vbt"
diff --git a/src/mainboard/asus/p5qc/Kconfig b/src/mainboard/asus/p5qc/Kconfig
index b9feb45c80..41c11c0288 100644
--- a/src/mainboard/asus/p5qc/Kconfig
+++ b/src/mainboard/asus/p5qc/Kconfig
@@ -42,10 +42,6 @@ config GPIO_C
default "variants/p5ql_pro/gpio.c" if BOARD_ASUS_P5QL_PRO
default "gpio.c"
-config MAX_CPUS
- int
- default 4
-
# The MARVELL IDE controller delays SeaBIOS a lot and results in an unbootable
# bogus disk. Compiling SeaBIOS without ATA support is a workaround.
diff --git a/src/mainboard/asus/p5ql-em/Kconfig b/src/mainboard/asus/p5ql-em/Kconfig
index 1aafb7ffb2..12dc0d9761 100644
--- a/src/mainboard/asus/p5ql-em/Kconfig
+++ b/src/mainboard/asus/p5ql-em/Kconfig
@@ -26,8 +26,4 @@ config MAINBOARD_PART_NUMBER
string
default "P5QL-EM"
-config MAX_CPUS
- int
- default 4
-
endif # BOARD_ASUS_P5QL_EM
diff --git a/src/mainboard/asus/p5qpl-am/Kconfig b/src/mainboard/asus/p5qpl-am/Kconfig
index 4c4381abe0..07ba8def29 100644
--- a/src/mainboard/asus/p5qpl-am/Kconfig
+++ b/src/mainboard/asus/p5qpl-am/Kconfig
@@ -37,10 +37,6 @@ config OVERRIDE_DEVICETREE
string
default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb"
-config MAX_CPUS
- int
- default 4
-
# Override the default variant behavior, since the data.vbt is the same
config INTEL_GMA_VBT_FILE
default "src/mainboard/$(MAINBOARDDIR)/data.vbt"
diff --git a/src/mainboard/foxconn/g41s-k/Kconfig b/src/mainboard/foxconn/g41s-k/Kconfig
index c8cd1839ce..8bdc958f3f 100644
--- a/src/mainboard/foxconn/g41s-k/Kconfig
+++ b/src/mainboard/foxconn/g41s-k/Kconfig
@@ -34,8 +34,4 @@ config OVERRIDE_DEVICETREE
string
default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb"
-config MAX_CPUS
- int
- default 4
-
endif # BOARD_FOXCONN_G41S_K
diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig b/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig
index fa6783d1f7..8fbc8cc45b 100644
--- a/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig
+++ b/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig
@@ -28,8 +28,4 @@ config MAINBOARD_PART_NUMBER
string
default "GA-G41M-ES2L"
-config MAX_CPUS
- int
- default 4
-
endif # BOARD_GIGABYTE_GA_G41M_ES2L
diff --git a/src/mainboard/intel/dg41wv/Kconfig b/src/mainboard/intel/dg41wv/Kconfig
index 9948638713..b90f263b3c 100644
--- a/src/mainboard/intel/dg41wv/Kconfig
+++ b/src/mainboard/intel/dg41wv/Kconfig
@@ -25,8 +25,4 @@ config MAINBOARD_PART_NUMBER
string
default "DG41WV"
-config MAX_CPUS
- int
- default 4
-
endif # BOARD_INTEL_DG41WV
diff --git a/src/mainboard/intel/dg43gt/Kconfig b/src/mainboard/intel/dg43gt/Kconfig
index d56a05569d..8bf4585931 100644
--- a/src/mainboard/intel/dg43gt/Kconfig
+++ b/src/mainboard/intel/dg43gt/Kconfig
@@ -38,8 +38,4 @@ config MAINBOARD_PART_NUMBER
string
default "DG43GT"
-config MAX_CPUS
- int
- default 4
-
endif # BOARD_INTEL_DG43GT
diff --git a/src/mainboard/lenovo/thinkcentre_a58/Kconfig b/src/mainboard/lenovo/thinkcentre_a58/Kconfig
index 2ccfab1bd3..419f012373 100644
--- a/src/mainboard/lenovo/thinkcentre_a58/Kconfig
+++ b/src/mainboard/lenovo/thinkcentre_a58/Kconfig
@@ -25,8 +25,4 @@ config MAINBOARD_PART_NUMBER
string
default "ThinkCentre A58"
-config MAX_CPUS
- int
- default 4
-
endif # BOARD_LENOVO_THINKCENTRE_A58
diff --git a/src/northbridge/intel/x4x/Kconfig b/src/northbridge/intel/x4x/Kconfig
index 9ac9b87933..27754c8432 100644
--- a/src/northbridge/intel/x4x/Kconfig
+++ b/src/northbridge/intel/x4x/Kconfig
@@ -29,4 +29,8 @@ config SMM_RESERVED_SIZE
hex
default 0x100000
+config MAX_CPUS
+ int
+ default 4
+
endif