summaryrefslogtreecommitdiff
path: root/src/soc/intel/common
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2018-12-19 17:49:47 +0530
committerSubrata Banik <subrata.banik@intel.com>2019-03-24 04:00:48 +0000
commit10f5ccf9cb26e58aaaf7d77813bf43b235eea4af (patch)
tree4f594c0c74abbf4ba74b449a1c6906ae4aab0242 /src/soc/intel/common
parent6f5dacae13a81b93fb8bb1dc80847b24ac7d6959 (diff)
soc/intel/common: Add Kconfig option to choose desired MP Init for platform
mainboard users can select correct MP Init Kconfig in order to perform MP initialization. 1. Native coreboot MP Init. 2. FSP to do MP Init. 3. FSP to make use of coreboot MP service PPI to perform MP Initialization Change-Id: Ifbea463fdaf97d68c21a759c37f49492d58a056b Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/30287 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r--src/soc/intel/common/block/cpu/Kconfig27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cpu/Kconfig b/src/soc/intel/common/block/cpu/Kconfig
index 48f3f1645c..9ec5307e48 100644
--- a/src/soc/intel/common/block/cpu/Kconfig
+++ b/src/soc/intel/common/block/cpu/Kconfig
@@ -50,3 +50,30 @@ config INTEL_CAR_NEM_ENHANCED
the modified data will be lost and NEM results will be inconsistent.
ENHANCED NEM guarantees that modified data is always
kept in cache while clean data is replaced.
+
+menu "Multiple Processor (MP) Initialization Options"
+config USE_COREBOOT_NATIVE_MP_INIT
+ bool "Perform MP Initialization by coreboot"
+ default y if !PLATFORM_USES_FSP2_1
+ default n
+ help
+ This option allows user to select native coreboot option to perform
+ multiprocessor initialization.
+
+config USE_INTEL_FSP_MP_INIT
+ bool "Perform MP Initialization by FSP"
+ default n
+ help
+ This option allows FSP to perform multiprocessor initialization.
+
+config USE_INTEL_FSP_TO_CALL_COREBOOT_PUBLISH_MP_PPI
+ bool "Perform MP Initialization by FSP using coreboot MP PPI service"
+ depends on FSP_USES_MP_SERVICES_PPI
+ default y if PLATFORM_USES_FSP2_1
+ default n
+ select USE_COREBOOT_NATIVE_MP_INIT
+ help
+ This option allows FSP to make use of MP services PPI published by
+ coreboot to perform multiprocessor initialization.
+
+endmenu # Multiple Processor (MP) Initialization Options