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 ++++ 2 files changed, 8 insertions(+) (limited to 'src/cpu') 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 -- cgit v1.2.3