From f699c14c03a78549b0e5ed32cf9714473127c618 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Fri, 8 Jun 2018 17:57:37 +0530 Subject: soc/intel/common/block/cpu: Add option to skip coreboot AP init SoC users from IOTG team is looking forward for a solution to skip coreboot AP initialization flow and make use of FSPS-UPD to perform AP reset. TEST=Assign use_fsp_mp_init=1 to ensure coreboot is not bringing APs out of reset. Change-Id: Ibc8cd411e802fb682436a933073922b2693ba994 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/26644 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Furquan Shaikh --- src/soc/intel/common/block/include/intelblocks/chip.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/soc/intel/common/block/include/intelblocks/chip.h') diff --git a/src/soc/intel/common/block/include/intelblocks/chip.h b/src/soc/intel/common/block/include/intelblocks/chip.h index 555bdaa893..d761f6be76 100644 --- a/src/soc/intel/common/block/include/intelblocks/chip.h +++ b/src/soc/intel/common/block/include/intelblocks/chip.h @@ -33,9 +33,24 @@ struct soc_intel_common_config { int chipset_lockdown; struct gspi_cfg gspi[CONFIG_SOC_INTEL_COMMON_BLOCK_GSPI_MAX]; struct dw_i2c_bus_config i2c[CONFIG_SOC_INTEL_I2C_DEV_MAX]; + /* + * 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; }; /* This function to retrieve soc config structure required by common code */ const struct soc_intel_common_config *chip_get_common_soc_structure(void); +/* + * This function will get MP Init config + * + * Return values: + * 0 = Make use of coreboot MP Init + * 1 = Make use of FSP MP Init + */ +int chip_get_fsp_mp_init(void); + #endif /* SOC_INTEL_COMMON_BLOCK_CHIP_H */ -- cgit v1.2.3