summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-10-21 12:51:17 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-10-22 01:13:40 +0000
commit600e36d664b33df3f239b098731652a72391db59 (patch)
tree4f6df9a501276264efc25deaa10b363fb37beaaf
parent712177cf1421d6c8551476a783fdf28dfe57b4aa (diff)
downloadchrome-ec-stabilize-4856.B.tar.gz
bolt: Implement prochotstabilize-4856.B
This code is pretty much the same across all x86 chipsets. In the long run, maybe it should be moved to x86_common.c, but for now, simply implement on bolt what we did on samus and all the other haswell systems. BUG=chrome-os-partner:20372 BRANCH=none TEST=build bolt; don't have a bolt to test on Change-Id: I01c2795192fcbd3980ed464c1e3e1dfb64fdb228 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/173798 Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
-rw-r--r--board/bolt/power_sequence.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/bolt/power_sequence.c b/board/bolt/power_sequence.c
index 78468211df..1549f75d8c 100644
--- a/board/bolt/power_sequence.c
+++ b/board/bolt/power_sequence.c
@@ -105,7 +105,8 @@ void chipset_reset(int cold_reset)
void chipset_throttle_cpu(int throttle)
{
- /* FIXME CPRINTF("[%T %s(%d)]\n", __func__, throttle);*/
+ if (chipset_in_state(CHIPSET_STATE_ON))
+ gpio_set_level(GPIO_CPU_PROCHOT, throttle);
}
enum x86_state x86_chipset_init(void)