soc/intel/alderlake: Allow possible options for MP Init
This patch creates choice that lists all possible options to perform MP Init as below: 1. USE_FSP_MP_INIT: Allow coreboot to bring APs from reset and FSP runs feature programming based and selects MP_SERVICES_PPI_V2 config. 2. USE_COREBOOT_MP_INIT: Allow coreboot to perform MP Init (both AP init and feature programming) using native implementation. Additionally, selects required RELOAD_MICROCODE_PATCH when coreboot is expected to run MP Init. Refactor SoC code to allow required FSP UPD override based on selected MP Init option. BUG=b:233199592 TEST=Build and boot google/taeko to ChromeOS. Signed-off-by: Subrata Banik <subratabanik@google.com> Change-Id: I20adc1935890c4c6bcd11fd086838f15d0723932 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64977 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Felix Held
parent
347f5c3232
commit
ceaf9d1169
@@ -404,9 +404,17 @@ static void fill_fsps_cpu_params(FSP_S_CONFIG *s_cfg,
|
||||
}
|
||||
}
|
||||
|
||||
/* Use coreboot MP PPI services if Kconfig is enabled */
|
||||
if (CONFIG(USE_INTEL_FSP_TO_CALL_COREBOOT_PUBLISH_MP_PPI))
|
||||
if (CONFIG(USE_FSP_MP_INIT)) {
|
||||
/*
|
||||
* Use FSP running MP PPI services to perform CPU feature programming
|
||||
* if Kconfig is enabled
|
||||
*/
|
||||
s_cfg->CpuMpPpi = (uintptr_t) mp_fill_ppi_services_data();
|
||||
} else {
|
||||
/* Use coreboot native driver to perform MP init by default */
|
||||
s_cfg->CpuMpPpi = (uintptr_t)NULL;
|
||||
s_cfg->SkipMpInit = !CONFIG(USE_INTEL_FSP_MP_INIT);
|
||||
}
|
||||
}
|
||||
|
||||
static void fill_fsps_igd_params(FSP_S_CONFIG *s_cfg,
|
||||
|
Reference in New Issue
Block a user