summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-05-29 01:06:04 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-06-15 22:55:54 +0000
commitf6846efd846b65a4295b45b177bd67017f0987f9 (patch)
tree7cb2de6c3ad8daffddddebdf62a3b58103d9cb85
parentbabffce0eb9922e0ab4e07b7e664d85d1c4e6f1c (diff)
downloadcoreboot-f6846efd846b65a4295b45b177bd67017f0987f9.tar.xz
gm45 boards: Factor out MAX_CPUS
The gm45 northbridge supports at most 4 threads. However, the only two mobile Core 2 Quad models are not BGA956, so account for that as well. Change-Id: Ie198ac4c366ec0bd53ddb337b6f9c03c331c73f5 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41844 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/cpu/intel/socket_BGA956/Kconfig4
-rw-r--r--src/cpu/intel/socket_p/Kconfig4
-rw-r--r--src/mainboard/lenovo/t400/Kconfig4
-rw-r--r--src/mainboard/lenovo/x200/Kconfig4
-rw-r--r--src/mainboard/roda/rk9/Kconfig4
5 files changed, 8 insertions, 12 deletions
diff --git a/src/cpu/intel/socket_BGA956/Kconfig b/src/cpu/intel/socket_BGA956/Kconfig
index eef81d570a..638653c162 100644
--- a/src/cpu/intel/socket_BGA956/Kconfig
+++ b/src/cpu/intel/socket_BGA956/Kconfig
@@ -18,4 +18,8 @@ config DCACHE_BSP_STACK_SIZE
hex
default 0x2000
+config MAX_CPUS
+ int
+ default 2
+
endif
diff --git a/src/cpu/intel/socket_p/Kconfig b/src/cpu/intel/socket_p/Kconfig
index 6ba74eea90..a7c8ab1bb8 100644
--- a/src/cpu/intel/socket_p/Kconfig
+++ b/src/cpu/intel/socket_p/Kconfig
@@ -19,4 +19,8 @@ config DCACHE_BSP_STACK_SIZE
hex
default 0x2000
+config MAX_CPUS
+ int
+ default 4
+
endif
diff --git a/src/mainboard/lenovo/t400/Kconfig b/src/mainboard/lenovo/t400/Kconfig
index e6f56310a8..219df86c0d 100644
--- a/src/mainboard/lenovo/t400/Kconfig
+++ b/src/mainboard/lenovo/t400/Kconfig
@@ -71,10 +71,6 @@ config USBDEBUG_HCD_INDEX
int
default 2
-config MAX_CPUS
- int
- default 4
-
config CBFS_SIZE
hex
default 0x200000
diff --git a/src/mainboard/lenovo/x200/Kconfig b/src/mainboard/lenovo/x200/Kconfig
index 731f4cb142..4ae040ac38 100644
--- a/src/mainboard/lenovo/x200/Kconfig
+++ b/src/mainboard/lenovo/x200/Kconfig
@@ -64,10 +64,6 @@ config USBDEBUG_HCD_INDEX
int
default 2
-config MAX_CPUS
- int
- default 2
-
config CBFS_SIZE
hex
default 0x200000
diff --git a/src/mainboard/roda/rk9/Kconfig b/src/mainboard/roda/rk9/Kconfig
index 7516255f5b..f45f25522e 100644
--- a/src/mainboard/roda/rk9/Kconfig
+++ b/src/mainboard/roda/rk9/Kconfig
@@ -25,10 +25,6 @@ config MAINBOARD_PART_NUMBER
string
default "RK9"
-config MAX_CPUS
- int
- default 2
-
config CBFS_SIZE
hex
default ROM_SIZE