From f3973bd4cf83b41a2fb37806948b6dbccfbf367a Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Fri, 29 May 2020 01:17:16 +0200 Subject: [PATCH] i945 boards: Factor out MAX_CPUS At least one mobile 945 series northbridge supports 4 threads, because the dual-core Atom 330 CPU supports Hyper-threading. Therefore, we use that as the default for this chipset. Change-Id: I899ed1644d9b2da4fc72f09233a421200770110d Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/41845 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/mainboard/asus/p5gc-mx/Kconfig | 4 ---- src/mainboard/getac/p470/Kconfig | 4 ---- src/mainboard/ibase/mb899/Kconfig | 4 ---- src/mainboard/intel/d945gclf/Kconfig | 4 ---- src/mainboard/kontron/986lcd-m/Kconfig | 4 ---- src/mainboard/roda/rk886ex/Kconfig | 4 ---- src/northbridge/intel/i945/Kconfig | 4 ++++ 7 files changed, 4 insertions(+), 24 deletions(-) diff --git a/src/mainboard/asus/p5gc-mx/Kconfig b/src/mainboard/asus/p5gc-mx/Kconfig index 550722b3b7..ff3bbca46e 100644 --- a/src/mainboard/asus/p5gc-mx/Kconfig +++ b/src/mainboard/asus/p5gc-mx/Kconfig @@ -26,8 +26,4 @@ config MAINBOARD_PART_NUMBER string default "P5GC-MX" -config MAX_CPUS - int - default 4 ## 2 may be the chipsets limit - endif # BOARD_ASUS_P5GC_MX diff --git a/src/mainboard/getac/p470/Kconfig b/src/mainboard/getac/p470/Kconfig index 283ff65759..55a364629e 100644 --- a/src/mainboard/getac/p470/Kconfig +++ b/src/mainboard/getac/p470/Kconfig @@ -34,10 +34,6 @@ config IRQ_SLOT_COUNT int default 18 -config MAX_CPUS - int - default 4 - config VGA_BIOS_FILE string default "getac-pci8086,27a2.rom" diff --git a/src/mainboard/ibase/mb899/Kconfig b/src/mainboard/ibase/mb899/Kconfig index b3ffd2bee5..94c4e23781 100644 --- a/src/mainboard/ibase/mb899/Kconfig +++ b/src/mainboard/ibase/mb899/Kconfig @@ -29,10 +29,6 @@ config IRQ_SLOT_COUNT int default 18 -config MAX_CPUS - int - default 4 - config VGA_BIOS_FILE string default "amipci_01.20" diff --git a/src/mainboard/intel/d945gclf/Kconfig b/src/mainboard/intel/d945gclf/Kconfig index c8c7808e2f..06e1a0cfbf 100644 --- a/src/mainboard/intel/d945gclf/Kconfig +++ b/src/mainboard/intel/d945gclf/Kconfig @@ -31,8 +31,4 @@ config IRQ_SLOT_COUNT int default 18 -config MAX_CPUS - int - default 4 - endif # BOARD_INTEL_D945GCLF diff --git a/src/mainboard/kontron/986lcd-m/Kconfig b/src/mainboard/kontron/986lcd-m/Kconfig index dfc7c3cfd2..006837aaf7 100644 --- a/src/mainboard/kontron/986lcd-m/Kconfig +++ b/src/mainboard/kontron/986lcd-m/Kconfig @@ -31,10 +31,6 @@ config IRQ_SLOT_COUNT int default 18 -config MAX_CPUS - int - default 4 - config VGA_BIOS_FILE string default "amipci_01.20" diff --git a/src/mainboard/roda/rk886ex/Kconfig b/src/mainboard/roda/rk886ex/Kconfig index 9d08c96a03..112d3ada61 100644 --- a/src/mainboard/roda/rk886ex/Kconfig +++ b/src/mainboard/roda/rk886ex/Kconfig @@ -32,10 +32,6 @@ config IRQ_SLOT_COUNT int default 18 -config MAX_CPUS - int - default 4 - config MAXIMUM_SUPPORTED_FREQUENCY int default 400 diff --git a/src/northbridge/intel/i945/Kconfig b/src/northbridge/intel/i945/Kconfig index 754f36c996..d6498f1e81 100644 --- a/src/northbridge/intel/i945/Kconfig +++ b/src/northbridge/intel/i945/Kconfig @@ -73,4 +73,8 @@ config SMM_RESERVED_SIZE hex default 0x100000 +config MAX_CPUS + int + default 4 + endif