diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/alderlake/fsp_params.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/soc/intel/alderlake/fsp_params.c b/src/soc/intel/alderlake/fsp_params.c index 41d048b68f..839d161eae 100644 --- a/src/soc/intel/alderlake/fsp_params.c +++ b/src/soc/intel/alderlake/fsp_params.c @@ -1200,6 +1200,15 @@ static void fill_fsps_irq_params(FSP_S_CONFIG *s_cfg, static void fill_fsps_fivr_params(FSP_S_CONFIG *s_cfg, const struct soc_intel_alderlake_config *config) { +#if CONFIG(SOC_INTEL_ALDERLAKE_PCH_N) + /* Enable the FIVR VCCST ICCMax Control for ADL-N. + * TODO:Right now the UPD is update in partial headers for only ADL-N and when its + * updated for ADL-P then we will remove the config since this needs to be enabled for + * all the Alderlake platforms. + */ + s_cfg->PchFivrVccstIccMaxControl = 1; +#endif + /* PCH FIVR settings override */ if (!config->ext_fivr_settings.configure_ext_fivr) return; @@ -1234,15 +1243,6 @@ static void fill_fsps_fivr_params(FSP_S_CONFIG *s_cfg, s_cfg->PchFivrExtVnnRailIccMaximum = config->ext_fivr_settings.vnn_icc_max_ma; - -#if CONFIG(SOC_INTEL_ALDERLAKE_PCH_N) - /* Enable the FIVR VCCST ICCMax Control for ADL-N. - * TODO:Right now the UPD is update in partial headers for only ADL-N and when its - * updated for ADL-P then we will remove the config since this needs to be enabled for - * all the Alderlake platforms. - */ - s_cfg->PchFivrVccstIccMaxControl = 1; -#endif } static void fill_fsps_fivr_rfi_params(FSP_S_CONFIG *s_cfg, |