summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-07-30 06:09:28 +0800
committerChromeBot <chrome-bot@google.com>2013-07-29 19:50:56 -0700
commitba57ea8d039d9111c267604748c642fe190b8732 (patch)
tree82abba2c53b2711326414ebfc252be406118471e
parent9972aee4e8dd18d8fc87bcb4f8b999dec686f33c (diff)
downloadchrome-ec-ba57ea8d039d9111c267604748c642fe190b8732.tar.gz
spring: Disable EC stand-by mode
This is no longer needed given that S5 battery life is good enough. BUG=chrome-os-partner:21107 TEST=None BRANCH=Spring Change-Id: Ie362a9927fe4de10e4832117e42fd44b73828b33 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/63642 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--board/spring/board.h6
-rw-r--r--common/gaia_power.c5
2 files changed, 5 insertions, 6 deletions
diff --git a/board/spring/board.h b/board/spring/board.h
index 440a7d27c9..9a0394d8f6 100644
--- a/board/spring/board.h
+++ b/board/spring/board.h
@@ -31,12 +31,6 @@
#undef CONFIG_TASK_PROFILING
#define CONFIG_WATCHDOG_HELP
-/* Go to STANDBY mode when system is off without external power for too long */
-#define CONFIG_AUTO_HIBERNATE_SECS 180
-
-/* Wake from hibernate every hour */
-#define CONFIG_HIBERNATE_WAKE_PERIOD_SECS 3600
-
/* Auto battery cut-off */
#define BATTERY_CUT_OFF_MV 10500
#define BATTERY_CUT_OFF_DELAY (11 * SECOND)
diff --git a/common/gaia_power.c b/common/gaia_power.c
index c2affbc4ca..9eb5f04d9d 100644
--- a/common/gaia_power.c
+++ b/common/gaia_power.c
@@ -165,6 +165,11 @@ int chipset_get_auto_hibernate_delay(void)
static void hibernate_timer_arm(void)
{
}
+
+int chipset_get_auto_hibernate_delay(void)
+{
+ return 0;
+}
#endif
/*