summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-08-04 07:42:33 +0200
committerElyes Haouas <ehaouas@noos.fr>2023-08-12 21:36:51 +0000
commit171ad51b4295429d947ed1cf0f26148967929c25 (patch)
treed8416322421d39d7b57f38eef14d21d12260760f /src/soc/intel
parent77c226ac9bad0ac53fd8d1b81dd38a5c4c924e52 (diff)
soc/intel/xeon_sp/*/Kconfig: Refactor out and remove SOC_SPECIFIC_OPTIONS
Move specific selections to {cpx,skx,spr} and remove dummy SOC_SPECIFIC_OPTIONS Change-Id: I71e41deb0478bf4d04395c88fc7b68df1ea83ac0 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76939 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/xeon_sp/Kconfig34
-rw-r--r--src/soc/intel/xeon_sp/cpx/Kconfig14
-rw-r--r--src/soc/intel/xeon_sp/skx/Kconfig8
-rw-r--r--src/soc/intel/xeon_sp/spr/Kconfig15
4 files changed, 31 insertions, 40 deletions
diff --git a/src/soc/intel/xeon_sp/Kconfig b/src/soc/intel/xeon_sp/Kconfig
index 24f749a02b..63ced01067 100644
--- a/src/soc/intel/xeon_sp/Kconfig
+++ b/src/soc/intel/xeon_sp/Kconfig
@@ -4,38 +4,6 @@ source "src/soc/intel/xeon_sp/*/Kconfig"
config XEON_SP_COMMON_BASE
bool
-
-config SOC_INTEL_SKYLAKE_SP
- bool
- select XEON_SP_COMMON_BASE
- select PLATFORM_USES_FSP2_0
- select NO_FSP_TEMP_RAM_EXIT
- help
- Intel Skylake-SP support
-
-config SOC_INTEL_COOPERLAKE_SP
- bool
- select XEON_SP_COMMON_BASE
- select PLATFORM_USES_FSP2_2
- select CACHE_MRC_SETTINGS
- select NO_FSP_TEMP_RAM_EXIT
- help
- Intel Cooper Lake-SP support
-
-config SOC_INTEL_SAPPHIRERAPIDS_SP
- bool
- select CACHE_MRC_SETTINGS
- select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
- select PLATFORM_USES_FSP2_3
- select SOC_INTEL_CSE_SERVER_SKU
- select XEON_SP_COMMON_BASE
- help
- Intel Sapphire Rapids-SP support
-
-if XEON_SP_COMMON_BASE
-
-config CPU_SPECIFIC_OPTIONS
- def_bool y
select ACPI_INTEL_HARDWARE_SLEEP_VALUES
select ARCH_X86
select BOOT_DEVICE_SUPPORTS_WRITES
@@ -72,6 +40,8 @@ config CPU_SPECIFIC_OPTIONS
select USE_FSP_NOTIFY_PHASE_READY_TO_BOOT
select USE_FSP_NOTIFY_PHASE_END_OF_FIRMWARE
+if XEON_SP_COMMON_BASE
+
config MAINBOARD_USES_FSP2_0
bool
default y
diff --git a/src/soc/intel/xeon_sp/cpx/Kconfig b/src/soc/intel/xeon_sp/cpx/Kconfig
index aa344ce16c..f54f7716b6 100644
--- a/src/soc/intel/xeon_sp/cpx/Kconfig
+++ b/src/soc/intel/xeon_sp/cpx/Kconfig
@@ -1,10 +1,16 @@
## SPDX-License-Identifier: GPL-2.0-only
-if SOC_INTEL_COOPERLAKE_SP
-
-config SOC_SPECIFIC_OPTIONS
- def_bool y
+config SOC_INTEL_COOPERLAKE_SP
+ bool
+ select XEON_SP_COMMON_BASE
+ select PLATFORM_USES_FSP2_2
+ select CACHE_MRC_SETTINGS
+ select NO_FSP_TEMP_RAM_EXIT
select HAVE_INTEL_FSP_REPO
+ help
+ Intel Cooper Lake-SP support
+
+if SOC_INTEL_COOPERLAKE_SP
config FSP_HEADER_PATH
default "3rdparty/fsp/CedarIslandFspBinPkg/Include"
diff --git a/src/soc/intel/xeon_sp/skx/Kconfig b/src/soc/intel/xeon_sp/skx/Kconfig
index 18e5f2f59a..c2c3d4e2e8 100644
--- a/src/soc/intel/xeon_sp/skx/Kconfig
+++ b/src/soc/intel/xeon_sp/skx/Kconfig
@@ -1,5 +1,13 @@
## SPDX-License-Identifier: GPL-2.0-only
+config SOC_INTEL_SKYLAKE_SP
+ bool
+ select XEON_SP_COMMON_BASE
+ select PLATFORM_USES_FSP2_0
+ select NO_FSP_TEMP_RAM_EXIT
+ help
+ Intel Skylake-SP support
+
if SOC_INTEL_SKYLAKE_SP
config MAINBOARD_USES_FSP2_0
diff --git a/src/soc/intel/xeon_sp/spr/Kconfig b/src/soc/intel/xeon_sp/spr/Kconfig
index c3710ac976..9c19f3b1cc 100644
--- a/src/soc/intel/xeon_sp/spr/Kconfig
+++ b/src/soc/intel/xeon_sp/spr/Kconfig
@@ -1,14 +1,21 @@
## SPDX-License-Identifier: GPL-2.0-only
-if SOC_INTEL_SAPPHIRERAPIDS_SP
-
-config SOC_SPECIFIC_OPTIONS
- def_bool y
+config SOC_INTEL_SAPPHIRERAPIDS_SP
+ bool
select MICROCODE_BLOB_NOT_HOOKED_UP
select SAVE_MRC_AFTER_FSPS
select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION
select DISABLE_ACPI_HIBERNATE
select DEFAULT_X2APIC_RUNTIME
+ select CACHE_MRC_SETTINGS
+ select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
+ select PLATFORM_USES_FSP2_3
+ select SOC_INTEL_CSE_SERVER_SKU
+ select XEON_SP_COMMON_BASE
+ help
+ Intel Sapphire Rapids-SP support
+
+if SOC_INTEL_SAPPHIRERAPIDS_SP
config CHIPSET_DEVICETREE
string