summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-05-29 01:17:16 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-06-15 22:56:48 +0000
commitf3973bd4cf83b41a2fb37806948b6dbccfbf367a (patch)
tree5dfdb33ba2eb3681cca8a4a08da5dfee1b2a73a3
parentf6846efd846b65a4295b45b177bd67017f0987f9 (diff)
downloadcoreboot-f3973bd4cf83b41a2fb37806948b6dbccfbf367a.tar.xz
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 <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41845 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/asus/p5gc-mx/Kconfig4
-rw-r--r--src/mainboard/getac/p470/Kconfig4
-rw-r--r--src/mainboard/ibase/mb899/Kconfig4
-rw-r--r--src/mainboard/intel/d945gclf/Kconfig4
-rw-r--r--src/mainboard/kontron/986lcd-m/Kconfig4
-rw-r--r--src/mainboard/roda/rk886ex/Kconfig4
-rw-r--r--src/northbridge/intel/i945/Kconfig4
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