From ba57ea8d039d9111c267604748c642fe190b8732 Mon Sep 17 00:00:00 2001 From: Vic Yang Date: Tue, 30 Jul 2013 06:09:28 +0800 Subject: 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 Reviewed-on: https://gerrit.chromium.org/gerrit/63642 Reviewed-by: Vincent Palatin --- board/spring/board.h | 6 ------ common/gaia_power.c | 5 +++++ 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 /* -- cgit v1.2.1