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>
This commit is contained in:
Subrata Banik 2018-12-19 17:49:47 +05:30
parent 6f5dacae13
commit 10f5ccf9cb
1 changed files with 27 additions and 0 deletions

View File

@ -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