From f6846efd846b65a4295b45b177bd67017f0987f9 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Fri, 29 May 2020 01:06:04 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41844 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/cpu/intel/socket_BGA956/Kconfig | 4 ++++ src/cpu/intel/socket_p/Kconfig | 4 ++++ src/mainboard/lenovo/t400/Kconfig | 4 ---- src/mainboard/lenovo/x200/Kconfig | 4 ---- src/mainboard/roda/rk9/Kconfig | 4 ---- 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 -- cgit v1.2.3