diff options
author | Akshu Agrawal <akshu.agrawal@amd.com> | 2017-05-18 09:57:13 +0530 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-05-20 01:45:54 -0700 |
commit | 335bbbf2204a0814f2a1fc09054ed579a0b2cca9 (patch) | |
tree | 841a51b67fb9d840dc5358bcbbac91dab3174c79 /power | |
parent | b72178b6ec7ed9213b687d837d87e78ff6f28f52 (diff) | |
download | chrome-ec-335bbbf2204a0814f2a1fc09054ed579a0b2cca9.tar.gz |
stoney: Remove throttle cpu from S3S0 power state
This was causing cpu to give lower performance.
Hard throttling is being handled in chipset_throttle_cpu.
BUG=None
TEST=Improved CPU benchmark
Change-Id: I0bff47ec0ce60f31fa1f30fdea94d45dfe05aa38
Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Reviewed-on: https://chromium-review.googlesource.com/508569
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: YH Lin <yueherngl@chromium.org>
Diffstat (limited to 'power')
-rw-r--r-- | power/stoney.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/power/stoney.c b/power/stoney.c index 6ea4265ef7..a22a2a96a1 100644 --- a/power/stoney.c +++ b/power/stoney.c @@ -27,7 +27,6 @@ #define CPUTS(outstr) cputs(CC_CHIPSET, outstr) #define CPRINTS(format, args...) cprints(CC_CHIPSET, format, ## args) -static int throttle_cpu; /* Throttle CPU? */ static int forcing_coldreset; /* Forced coldreset in progress? */ void chipset_force_shutdown(void) @@ -190,11 +189,6 @@ enum power_state _power_handle_state(enum power_state state) */ disable_sleep(SLEEP_MASK_AP_RUN); - /* - * Throttle CPU if necessary. This should only be asserted - * when +VCCP is powered (it is by now). - */ - gpio_set_level(GPIO_CPU_PROCHOT, throttle_cpu); return POWER_S0; case POWER_S0: |