summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-09-07 13:40:47 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-09-09 10:34:51 +0000
commitf4779e867959522aac2436bd73c9de02ab863867 (patch)
treea21b1bc384d9cbe825ae2fb6c5abc55f9e417dd2
parentb36100faf49c5a01e062e93b9a2fe542709fb6bd (diff)
geminilake: Factor out MAX_CPUS value
Both Gemini Lake boards in the tree use the same value. Change-Id: Ib6bd05206026736fd7e3d44b49e4d8ba217c2708 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45142 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--src/mainboard/google/octopus/Kconfig4
-rw-r--r--src/mainboard/intel/glkrvp/Kconfig4
-rw-r--r--src/soc/intel/apollolake/Kconfig4
3 files changed, 4 insertions, 8 deletions
diff --git a/src/mainboard/google/octopus/Kconfig b/src/mainboard/google/octopus/Kconfig
index 4c0cdff860..b9c6a1ba34 100644
--- a/src/mainboard/google/octopus/Kconfig
+++ b/src/mainboard/google/octopus/Kconfig
@@ -97,10 +97,6 @@ config MAINBOARD_FAMILY
string
default "Google_Octopus"
-config MAX_CPUS
- int
- default 4
-
config UART_FOR_CONSOLE
int
default 2
diff --git a/src/mainboard/intel/glkrvp/Kconfig b/src/mainboard/intel/glkrvp/Kconfig
index 86920ca6e2..7b1b564e52 100644
--- a/src/mainboard/intel/glkrvp/Kconfig
+++ b/src/mainboard/intel/glkrvp/Kconfig
@@ -68,10 +68,6 @@ config MAINBOARD_FAMILY
string
default "Intel_Glkrvp" if BOARD_INTEL_GLKRVP
-config MAX_CPUS
- int
- default 4
-
config UART_FOR_CONSOLE
int
default 2
diff --git a/src/soc/intel/apollolake/Kconfig b/src/soc/intel/apollolake/Kconfig
index fec0fc94cf..f5d932396b 100644
--- a/src/soc/intel/apollolake/Kconfig
+++ b/src/soc/intel/apollolake/Kconfig
@@ -108,6 +108,10 @@ config CPU_SPECIFIC_OPTIONS
select INTEL_GMA_SWSMISCI
select HAVE_ASAN_IN_ROMSTAGE
+config MAX_CPUS
+ int
+ default 4 if SOC_INTEL_GEMINILAKE
+
config CHROMEOS
select CHROMEOS_RAMOOPS_DYNAMIC