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>
diff --git a/src/mainboard/asrock/g41c-gs/Kconfig b/src/mainboard/asrock/g41c-gs/Kconfig
index 7ffe62f..900bfef 100644
--- a/src/mainboard/asrock/g41c-gs/Kconfig
+++ b/src/mainboard/asrock/g41c-gs/Kconfig
@@ -46,10 +46,6 @@
 	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 b9feb45..41c11c0 100644
--- a/src/mainboard/asus/p5qc/Kconfig
+++ b/src/mainboard/asus/p5qc/Kconfig
@@ -42,10 +42,6 @@
 	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 1aafb7f..12dc0d97 100644
--- a/src/mainboard/asus/p5ql-em/Kconfig
+++ b/src/mainboard/asus/p5ql-em/Kconfig
@@ -26,8 +26,4 @@
 	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 4c4381a..07ba8de 100644
--- a/src/mainboard/asus/p5qpl-am/Kconfig
+++ b/src/mainboard/asus/p5qpl-am/Kconfig
@@ -37,10 +37,6 @@
 	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 c8cd183..8bdc958 100644
--- a/src/mainboard/foxconn/g41s-k/Kconfig
+++ b/src/mainboard/foxconn/g41s-k/Kconfig
@@ -34,8 +34,4 @@
 	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 fa6783d1..8fbc8cc 100644
--- a/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig
+++ b/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig
@@ -28,8 +28,4 @@
 	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 9948638..b90f263 100644
--- a/src/mainboard/intel/dg41wv/Kconfig
+++ b/src/mainboard/intel/dg41wv/Kconfig
@@ -25,8 +25,4 @@
 	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 d56a055..8bf4585 100644
--- a/src/mainboard/intel/dg43gt/Kconfig
+++ b/src/mainboard/intel/dg43gt/Kconfig
@@ -38,8 +38,4 @@
 	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 2ccfab1..419f012 100644
--- a/src/mainboard/lenovo/thinkcentre_a58/Kconfig
+++ b/src/mainboard/lenovo/thinkcentre_a58/Kconfig
@@ -25,8 +25,4 @@
 	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 9ac9b87..27754c8 100644
--- a/src/northbridge/intel/x4x/Kconfig
+++ b/src/northbridge/intel/x4x/Kconfig
@@ -29,4 +29,8 @@
 	hex
 	default 0x100000
 
+config MAX_CPUS
+	int
+	default 4
+
 endif