soc/intel/skylake: Move MAX_CPUS from mb to SoC

Configure MAX_CPUS in SoC Kconfig with 8 as default value and remove it
from every mainboard where 8 is used.

Change-Id: I825625bf842e8cd22dada9a508a7176e5cc2ea57
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49105
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Singer 2021-01-04 22:10:26 +00:00 committed by Michael Niewöhner
parent b9e77f6d6b
commit 9a6a18e33b
14 changed files with 4 additions and 52 deletions

View file

@ -28,10 +28,6 @@ config MAINBOARD_DIR
string
default "51nb/x210"
config MAX_CPUS
int
default 8
config VGA_BIOS_ID
string
default "8086,5917"

View file

@ -29,10 +29,6 @@ config MAINBOARD_PART_NUMBER
string
default "H110M"
config MAX_CPUS
int
default 8
config DEVICETREE
string
default "devicetree.cb"

View file

@ -59,10 +59,6 @@ config FMDFILE
# default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/fmds/vboot-roa.fmd" if VBOOT_SLOTS_RW_A && !VBOOT_SLOTS_RW_AB
# default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/fmds/vboot-roab.fmd" if VBOOT_SLOTS_RW_AB
config MAX_CPUS
int
default 8
config DIMM_MAX
int
default 2

View file

@ -62,10 +62,6 @@ config MAINBOARD_FAMILY
string
default "Google_Eve"
config MAX_CPUS
int
default 8
config INCLUDE_NHLT_BLOBS
bool "Include blobs for audio."
select NHLT_RT5514

View file

@ -60,10 +60,6 @@ config MAINBOARD_FAMILY
default "Google_Kalista" if BOARD_GOOGLE_KARMA
default "Google_Endeavour" if BOARD_GOOGLE_ENDEAVOUR
config MAX_CPUS
int
default 8
config DIMM_MAX
int
default 2

View file

@ -65,10 +65,6 @@ config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config MAX_CPUS
int
default 8
config TPM_PIRQ
hex
default 0x18 # GPP_E0_IRQ

View file

@ -108,10 +108,6 @@ config MAINBOARD_PART_NUMBER
default "Rammus" if BOARD_GOOGLE_RAMMUS
default "Soraka" if BOARD_GOOGLE_SORAKA
config MAX_CPUS
int
default 8
config OEM_BIN_FILE
string "OEM ID table"
default ""

View file

@ -43,10 +43,6 @@ config MAINBOARD_FAMILY
string
default "Intel_Kblrvp"
config MAX_CPUS
int
default 8
config TPM_PIRQ
hex
default 0x18 # GPP_E0_IRQ

View file

@ -41,10 +41,6 @@ config MAINBOARD_FAMILY
string
default "Intel_Kunimitsu"
config MAX_CPUS
int
default 8
config TPM_PIRQ
hex
default 0x18 # GPP_E0_IRQ

View file

@ -32,10 +32,6 @@ config MAINBOARD_FAMILY
string
default "Intel_SaddleBrook"
config MAX_CPUS
int
default 8
config TPM_PIRQ
hex
default 0x18 # GPP_E0_IRQ

View file

@ -54,10 +54,6 @@ config CBFS_SIZE
hex
default 0x600000 if BOARD_SIEMENS_BOXER26
config MAX_CPUS
int
default 8
config DIMM_MAX
int
default 2

View file

@ -47,10 +47,6 @@ config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config MAX_CPUS
int
default 8
config VGA_BIOS_ID
string
default "8086,1916" if BOARD_PURISM_LIBREM13_V2 || BOARD_PURISM_LIBREM15_V3

View file

@ -75,10 +75,6 @@ config IRQ_SLOT_COUNT
int
default 18
config MAX_CPUS
int
default 8
config CONSOLE_POST
bool
default y

View file

@ -80,6 +80,10 @@ config CPU_SPECIFIC_OPTIONS
select UDELAY_TSC
select UDK_2015_BINDING
config MAX_CPUS
int
default 8
config FSP_HYPERTHREADING
bool "Enable Hyper-Threading"
default y