diff options
author | Ting Shen <phoenixshen@google.com> | 2021-06-15 14:16:31 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-16 04:41:25 +0000 |
commit | 3afe46139b7394a5386c0f5ea46b4b19bf3f527e (patch) | |
tree | 5ebe15be62e6fd2cc3e845b5c7d5cddd484a98b6 | |
parent | f1ecf804038855c0ee27714901553711aecccfc9 (diff) | |
download | chrome-ec-3afe46139b7394a5386c0f5ea46b4b19bf3f527e.tar.gz |
cherry: enable HOST_SLEEP_STATE
Port CL:2954984 to Cherry.
BUG=none
TEST=make
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I6cc934669a5fcaba64de8a9b61e4c2a94f6ddb14
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2962215
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
-rw-r--r-- | baseboard/cherry/baseboard.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/baseboard/cherry/baseboard.h b/baseboard/cherry/baseboard.h index b1673c8490..f2845e6d44 100644 --- a/baseboard/cherry/baseboard.h +++ b/baseboard/cherry/baseboard.h @@ -25,6 +25,8 @@ #define CONFIG_CHIPSET_MT8192 #define CONFIG_EXTPOWER_GPIO #define CONFIG_HIBERNATE_WAKE_PINS_DYNAMIC +#define CONFIG_POWER_SLEEP_FAILURE_DETECTION +#define CONFIG_POWER_TRACK_HOST_SLEEP_STATE /* Chipset */ #define CONFIG_CMD_AP_RESET_LOG @@ -179,6 +181,7 @@ (EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_CONNECTED) | \ EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_DISCONNECTED) | \ EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN) | \ + EC_HOST_EVENT_MASK(EC_HOST_EVENT_HANG_DETECT) | \ EC_HOST_EVENT_MASK(EC_HOST_EVENT_MODE_CHANGE) | \ EC_HOST_EVENT_MASK(EC_HOST_EVENT_POWER_BUTTON)) |