summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/picasso/root_complex.c
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2020-10-27 15:36:55 +0800
committerFelix Held <felix-coreboot@felixheld.de>2020-11-06 13:02:24 +0000
commit795d73c6d851fde143041483af5dff7c448febe6 (patch)
treea44a592eebe49f10e82bf5d07861d69bd663f5d1 /src/soc/amd/picasso/root_complex.c
parent0cae9008f01af3cd89dad317d42292c04b53bb51 (diff)
downloadcoreboot-795d73c6d851fde143041483af5dff7c448febe6.tar.gz
coreboot-795d73c6d851fde143041483af5dff7c448febe6.tar.bz2
coreboot-795d73c6d851fde143041483af5dff7c448febe6.zip
soc/amd/picasso: Update coreboot UPD variable names to include units
Use command below to change the variable globally. sed -i "s/\<variable\>/variable_u/g" `grep variable -rl ./ \ --exclude-dir=build --exclude-dir=crossgcc` BUG=b:171334623 TEST=Build Change-Id: I056a76663e84ebc940343d64178c18cb20df01a3 Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46840 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd/picasso/root_complex.c')
-rw-r--r--src/soc/amd/picasso/root_complex.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/soc/amd/picasso/root_complex.c b/src/soc/amd/picasso/root_complex.c
index 174cddc4877f..72a0974897d8 100644
--- a/src/soc/amd/picasso/root_complex.c
+++ b/src/soc/amd/picasso/root_complex.c
@@ -200,15 +200,15 @@ static void acipgen_dptci(void)
if (!config->dptc_enable)
return;
- struct dptc_input default_input = DPTC_INPUTS(config->thermctl_limit,
- config->sustained_power_limit,
- config->fast_ppt_limit,
- config->slow_ppt_limit);
+ struct dptc_input default_input = DPTC_INPUTS(config->thermctl_limit_degreeC,
+ config->sustained_power_limit_mW,
+ config->fast_ppt_limit_mW,
+ config->slow_ppt_limit_mW);
struct dptc_input tablet_mode_input = DPTC_INPUTS(
- config->thermctl_limit_tablet_mode,
- config->sustained_power_limit_tablet_mode,
- config->fast_ppt_limit_tablet_mode,
- config->slow_ppt_limit_tablet_mode);
+ config->thermctl_limit_tablet_mode_degreeC,
+ config->sustained_power_limit_tablet_mode_mW,
+ config->fast_ppt_limit_tablet_mode_mW,
+ config->slow_ppt_limit_tablet_mode_mW);
/* Scope (\_SB) */
acpigen_write_scope("\\_SB");