diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-05-14 13:55:51 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-05-14 16:07:17 -0700 |
commit | a59178373a118015c83b363485103455806366f8 (patch) | |
tree | 9fd73d2d12564327c998131b38e32e8a815306ae /common/thermal.c | |
parent | 805299d838c996c1a96b9808214d742ea28eb707 (diff) | |
download | chrome-ec-a59178373a118015c83b363485103455806366f8.tar.gz |
Change polarity of PROCHOT signal to match EVT
This would throttle proto1 systems, if it weren't for a HW bug which
means we don't have prochot control over proto1 systems at all.
Signed-off-by: Randall Spangler <rspangler@chromium.org>
BUG=chrome-os-partner:8982
TEST=system still boots
Change-Id: Ie42c034141f24795ec2bfee592e194001d3cd174
Diffstat (limited to 'common/thermal.c')
-rw-r--r-- | common/thermal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/thermal.c b/common/thermal.c index 154ddbbfb0..e9296b6433 100644 --- a/common/thermal.c +++ b/common/thermal.c @@ -117,10 +117,10 @@ static void overheated_action(void) if (overheated[THRESHOLD_WARNING]) { smi_overheated_warning(); - gpio_set_level(GPIO_CPU_PROCHOTn, 0); + chipset_throttle_cpu(1); } else - gpio_set_flags(GPIO_CPU_PROCHOTn, 1); + chipset_throttle_cpu(0); if (fan_ctrl_on) { int i; |