summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorRichard Spiegel <richard.spiegel@amd.corp-partner.google.com>2018-09-10 13:42:00 -0700
committerMartin Roth <martinroth@google.com>2018-09-17 16:27:50 +0000
commitc703beb31d8f95c1e861cb4007b02c3eaaf93c33 (patch)
treec4a7d0b99a6136feed9f08a1ce55340859cf1b28 /src/soc
parent1b25f1b47c57e32f2a27480e12daa61331e456a3 (diff)
mb/google/kahlee/variants/baseboard: Set STAPM percentage
Default STAPM percentage causes a lot of thermal throttling on grunt. AMD experimented with 80%, it works for grunt. This is initial code to provide easy change path for other grunt based platforms. BUG=b:111608748 TEST=build and boot grunt. Change-Id: I22863f6ed76152bf872fce3e275f8a7fd8077504 Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com> Reviewed-on: https://review.coreboot.org/28564 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/stoneyridge/chip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/amd/stoneyridge/chip.h b/src/soc/amd/stoneyridge/chip.h
index c98734d5f3..4cf2b33596 100644
--- a/src/soc/amd/stoneyridge/chip.h
+++ b/src/soc/amd/stoneyridge/chip.h
@@ -51,6 +51,9 @@ struct soc_amd_stoneyridge_config {
size_t uma_size;
struct dw_i2c_bus_config i2c[STONEY_I2C_DEV_MAX];
+ u8 stapm_percent;
+ u32 stapm_time;
+ u32 stapm_power;
};
typedef struct soc_amd_stoneyridge_config config_t;