soc/intel/{apollolake, geminilake}: Add option to skip coreboot MP init

This patch provides option for mainboard to skip coreboot MP
initialization if required based on use_fsp_mp_init.

Option for mainboard to skip coreboot MP initialization
* 0 = Make use of coreboot MP Init
* 1 = Make use of FSP MP Init

Default coreboot does MP initialization for APL and GLK.

Change-Id: I9253af6f28bf694782c117296766fd8564dc2b14
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/26643
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Subrata Banik 2018-05-28 17:38:12 +05:30
parent 925ea51e4c
commit 986d5c90a5
2 changed files with 8 additions and 1 deletions

View File

@ -614,7 +614,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
if (!IS_ENABLED(CONFIG_SOC_INTEL_GLK))
silconfig->MonitorMwaitEnable = 0;
silconfig->SkipMpInit = 1;
silconfig->SkipMpInit = !cfg->use_fsp_mp_init;
/* Disable setting of EISS bit in FSP. */
silconfig->SpiEiss = 0;

View File

@ -152,6 +152,13 @@ struct soc_intel_apollolake_config {
* (1) Power
* (2) Power & Performance */
enum pnp_settings pnp_settings;
/*
* Option for mainboard to skip coreboot MP initialization
* 0 = Make use of coreboot MP Init
* 1 = Make use of FSP MP Init
*/
uint8_t use_fsp_mp_init;
};
typedef struct soc_intel_apollolake_config config_t;