soc/intel/skylake: add acoustic noise mitigation params for FSP 1.1
Adapted from Chromium commit d6655eb [Skylake: create UPD Interface for acoustic noise tuning] Add FSP 1.1 params needed for acoustic mitigation on google/caroline (to be upstreamed in a subsequent commit). TEST: build/boot google/caroline Change-Id: Ifb36ecef8c1735c63a5322d952929e9c34cddfb9 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/22524 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
committed by
Martin Roth
parent
a8380fcfd8
commit
87f67bc699
@@ -196,6 +196,13 @@ void soc_silicon_init_params(SILICON_INIT_UPD *params)
|
||||
|
||||
params->SendVrMbxCmd = config->SendVrMbxCmd;
|
||||
|
||||
/* Acoustic Noise Mitigation */
|
||||
params->AcousticNoiseMitigation = config->AcousticNoiseMitigation;
|
||||
params->SlowSlewRateForIa = config->SlowSlewRateForIa;
|
||||
params->SlowSlewRateForGt = config->SlowSlewRateForGt;
|
||||
params->SlowSlewRateForSa = config->SlowSlewRateForSa;
|
||||
params->FastPkgCRampDisable = config->FastPkgCRampDisable;
|
||||
|
||||
soc_irq_settings(params);
|
||||
}
|
||||
|
||||
@@ -801,6 +808,21 @@ void soc_display_silicon_init_params(const SILICON_INIT_UPD *original,
|
||||
fsp_display_upd_value("SendVrMbxCmd", 1,
|
||||
original->SendVrMbxCmd,
|
||||
params->SendVrMbxCmd);
|
||||
fsp_display_upd_value("AcousticNoiseMitigation", 1,
|
||||
original->AcousticNoiseMitigation,
|
||||
params->AcousticNoiseMitigation);
|
||||
fsp_display_upd_value("SlowSlewRateForIa", 1,
|
||||
original->SlowSlewRateForIa,
|
||||
params->SlowSlewRateForIa);
|
||||
fsp_display_upd_value("SlowSlewRateForGt", 1,
|
||||
original->SlowSlewRateForGt,
|
||||
params->SlowSlewRateForGt);
|
||||
fsp_display_upd_value("SlowSlewRateForSa", 1,
|
||||
original->SlowSlewRateForSa,
|
||||
params->SlowSlewRateForSa);
|
||||
fsp_display_upd_value("FastPkgCRampDisable", 1,
|
||||
original->FastPkgCRampDisable,
|
||||
params->FastPkgCRampDisable);
|
||||
}
|
||||
|
||||
static void pci_set_subsystem(device_t dev, unsigned int vendor,
|
||||
|
Reference in New Issue
Block a user