summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/tigerlake/fsp_params.c
diff options
context:
space:
mode:
authorShaunak Saha <shaunak.saha@intel.com>2020-09-02 15:37:00 -0700
committerTim Wawrzynczak <twawrzynczak@chromium.org>2020-10-23 20:25:49 +0000
commit0d0f43f9d36f3a942322486b486b98f7ae5cd70d (patch)
tree1010a58c535b9d3979cbc43cb55906cd66cebd2a /src/soc/intel/tigerlake/fsp_params.c
parent7fa445e385cae66f8c696fb54cbd38dff49452c8 (diff)
downloadcoreboot-0d0f43f9d36f3a942322486b486b98f7ae5cd70d.tar.gz
coreboot-0d0f43f9d36f3a942322486b486b98f7ae5cd70d.tar.bz2
coreboot-0d0f43f9d36f3a942322486b486b98f7ae5cd70d.zip
soc/intel/tigerlake: Add Acoustic features
Expose the following FSP UPD interface into coreboot: - AcousticNoiseMitigation - FastPkgCRampDisable - SlowSlewRateFor BUG=b:153015585 BRANCH=none TEST= Measure the change in noise level by changing the UPD values. Signed-off-by: Shaunak Saha <shaunak.saha@intel.com> Change-Id: I1924a3bac8beb16a9d841891696f9a3dea0d425f Reviewed-on: https://review.coreboot.org/c/coreboot/+/45052 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/soc/intel/tigerlake/fsp_params.c')
-rw-r--r--src/soc/intel/tigerlake/fsp_params.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/intel/tigerlake/fsp_params.c b/src/soc/intel/tigerlake/fsp_params.c
index 38f444bbd5a4..887241b5c2bd 100644
--- a/src/soc/intel/tigerlake/fsp_params.c
+++ b/src/soc/intel/tigerlake/fsp_params.c
@@ -256,6 +256,14 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
}
}
+ params->AcousticNoiseMitigation = config->AcousticNoiseMitigation;
+ memcpy(&params->SlowSlewRate, &config->SlowSlewRate,
+ ARRAY_SIZE(config->SlowSlewRate) * sizeof(config->SlowSlewRate[0]));
+
+ memcpy(&params->FastPkgCRampDisable, &config->FastPkgCRampDisable,
+ ARRAY_SIZE(config->FastPkgCRampDisable) *
+ sizeof(config->FastPkgCRampDisable[0]));
+
/* Enable TCPU for processor thermal control */
params->Device4Enable = config->Device4Enable;