diff options
author | Vic (Chun-Ju) Yang <victoryang@chromium.org> | 2013-12-30 10:53:14 +0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-01-28 04:35:50 +0000 |
commit | 9785d09fcbc79b034e8b4f8b6a21fab418fafc3e (patch) | |
tree | 743ed349eb4debc23915f239a569e0de65f2feca /board/mec1322_evb/board.h | |
parent | aa636df6ab83d8ca08dc87c4140dceb40dd65900 (diff) | |
download | chrome-ec-9785d09fcbc79b034e8b4f8b6a21fab418fafc3e.tar.gz |
mec1322: hibernation supportstabilize-5339.B
This adds hibernation support. The chip can be waken by either GPIO or a
timer. The maximum delay allowed is ~2 hours.
BUG=chrome-os-partner:24107
TEST=hibernate and wake by GPIO
TEST=hibernate and wake by timer
BRANCH=None
Change-Id: I1e064638a5008894a002a06a738bf6104f18636d
Signed-off-by: Vic (Chun-Ju) Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/181202
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/mec1322_evb/board.h')
-rw-r--r-- | board/mec1322_evb/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/mec1322_evb/board.h b/board/mec1322_evb/board.h index 73a861fa47..57728ca529 100644 --- a/board/mec1322_evb/board.h +++ b/board/mec1322_evb/board.h @@ -13,6 +13,7 @@ #define CONFIG_WATCHDOG_HELP #define CONFIG_FANS 1 #define CONFIG_ADC +#define CONFIG_WAKE_PIN GPIO_S1 /* Modules we want to exclude */ #undef CONFIG_EEPROM @@ -40,6 +41,7 @@ enum gpio_signal { GPIO_LED3, GPIO_PCH_SMI_L, /* SMI output */ GPIO_PCH_WAKE_L, /* PCH wake pin */ + GPIO_S1, /* Switch S1 */ /* * Signals which aren't implemented on MEC1322 eval board but we'll * emulate anyway, to make it more convenient to debug other code. |