From 10f5ccf9cb26e58aaaf7d77813bf43b235eea4af Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Wed, 19 Dec 2018 17:49:47 +0530 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/30287 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/soc/intel/common/block/cpu/Kconfig | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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