diff options
author | V Sowmya <v.sowmya@intel.com> | 2022-08-04 22:50:51 +0530 |
---|---|---|
committer | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-08-19 14:28:39 +0000 |
commit | 2bc54e7c001c2f21752ac2365762a76ff1887b78 (patch) | |
tree | 3de4d15018dfa131cd54b1531368cf3e0687b256 /src/soc | |
parent | 8b8e9bc84dc055ffdae12237e20ef55e931abccc (diff) |
soc/intel/alderlake: Add support to skip the MBP HOB
This patch adds the support to enable/disable skipping MBP HOB
from the devicetree based on mainboard requirement.
Only ADL-N FSP has the required support to skip the MBP HOB and
enabling it is saving the Boot time.
BUG=b:241850107
TEST=Build and boot to verify that the right value has been passed to
the FSP.
Signed-off-by: V Sowmya <v.sowmya@intel.com>
Change-Id: Iddeb2c652fac9513b14139d6f732d333bbb989d0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66441
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Reka Norman <rekanorman@chromium.org>
Reviewed-by: Kangheui Won <khwon@chromium.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/alderlake/chip.h | 6 | ||||
-rw-r--r-- | src/soc/intel/alderlake/romstage/fsp_params.c | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/soc/intel/alderlake/chip.h b/src/soc/intel/alderlake/chip.h index f54cac2c42..06d1ef5ef4 100644 --- a/src/soc/intel/alderlake/chip.h +++ b/src/soc/intel/alderlake/chip.h @@ -637,6 +637,12 @@ struct soc_intel_alderlake_config { * Set this to 1 in order to disable Package C-state demotion. */ bool disable_package_c_state_demotion; + + /* + * Enable or Disable Skipping MBP HOB. + * Default is set to 0 and set to 1 to skip the MBP HOB. + */ + bool skip_mbp_hob; }; typedef struct soc_intel_alderlake_config config_t; diff --git a/src/soc/intel/alderlake/romstage/fsp_params.c b/src/soc/intel/alderlake/romstage/fsp_params.c index 337c4a609b..71a1a5c92c 100644 --- a/src/soc/intel/alderlake/romstage/fsp_params.c +++ b/src/soc/intel/alderlake/romstage/fsp_params.c @@ -224,6 +224,9 @@ static void fill_fspm_misc_params(FSP_M_CONFIG *m_cfg, ARRAY_SIZE(path)); if (is_dev_enabled(dev)) m_cfg->CnviDdrRfim = wifi_generic_cnvi_ddr_rfim_enabled(dev); + + /* Skip MBP HOB */ + m_cfg->SkipMbpHob = config->skip_mbp_hob; } static void fill_fspm_audio_params(FSP_M_CONFIG *m_cfg, |