apollolake: Define MAX_CPUS at SoC scope

The three Intel Apollo Lake boards (apl_rvp, leafhill and minnow3) do
not define MAX_CPUS, which would then default to 1. Since this is most
likely an oversight, use the same value as other Apollo Lake boards.

To ensure this does not happen again, factor out MAX_CPUS to SoC scope.

Change-Id: I5ed98a6b592c8010b59eca7ff773ae1ccc4cd7b1
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45144
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2020-09-07 13:45:53 +02:00 committed by Patrick Georgi
parent c95f507fc7
commit c6c9b9cf48
4 changed files with 1 additions and 13 deletions

View File

@ -81,10 +81,6 @@ config MAINBOARD_FAMILY
default "Google_Coral" if BOARD_GOOGLE_CORAL
default "Google_Reef"
config MAX_CPUS
int
default 4
config UART_FOR_CONSOLE
int
default 2

View File

@ -40,8 +40,4 @@ config MAINBOARD_PART_NUMBER
config UART_FOR_CONSOLE
default 2
config MAX_CPUS
int
default 4
endif # BOARD_SIEMENS_BASEBOARD_MC_APL1

View File

@ -60,10 +60,6 @@ config PXE_ROM_ID
string
default "10ec,8168"
config MAX_CPUS
int
default 4
config LINUX_COMMAND_LINE
string
default "console=ttyS4,115200 earlyprintk=ttyS4,115200,keep" if PAYLOAD_LINUXBOOT && UART_FOR_CONSOLE=0

View File

@ -110,7 +110,7 @@ config CPU_SPECIFIC_OPTIONS
config MAX_CPUS
int
default 4 if SOC_INTEL_GEMINILAKE
default 4
config CHROMEOS
select CHROMEOS_RAMOOPS_DYNAMIC