summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2012-11-07 07:41:55 -0800
committerVincent Palatin <vpalatin@chromium.org>2012-11-07 22:26:05 -0800
commiteb955e728a0765e0e34291b2bbc0422e1dc2db4d (patch)
treecdf062c95687cbd41871b318e78388320dfa0be4
parent97b1886600cb9510e9ca2ea1c644e831fd4540c4 (diff)
downloadchrome-ec-eb955e728a0765e0e34291b2bbc0422e1dc2db4d.tar.gz
x86: set hibernation delay to 1 hour
When the system is in S5, it will go to hibernate mode after 1 hour instead of 24 hours. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=link BUG=none TEST=on Link DVT3 with servo connected, turn off the machine and see the EC going to hibernate after 1 hour (according to EC UART traces) start the machine and see it boot properly. Change-Id: I2a9886fecf312ef0f08d2fe9863c3eebf26d6d37 Reviewed-on: https://gerrit.chromium.org/gerrit/37527 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--common/x86_power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/x86_power.c b/common/x86_power.c
index 16a3e0d258..79610d9caf 100644
--- a/common/x86_power.c
+++ b/common/x86_power.c
@@ -105,7 +105,7 @@ static int throttle_cpu; /* Throttle CPU? */
/* When did we enter G3? */
static uint64_t last_shutdown_time;
/* Delay before go into hibernation in seconds*/
-static uint32_t hibernate_delay = 86400; /* 24 Hrs */
+static uint32_t hibernate_delay = 3600; /* 1 Hour */
/* Update input signal state */
static void update_in_signals(void)