summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2019-02-08 17:39:31 -0800
committerFurquan Shaikh <furquan@google.com>2019-02-13 16:47:20 +0000
commit883d8215038ccd783bed03b9acf175ec5f55d062 (patch)
tree86412d7bb08038514af344806a390fd9bde31a83
parent3bb8c244f25e0f390f463a42ac0ec65a3a595e30 (diff)
downloadcoreboot-883d8215038ccd783bed03b9acf175ec5f55d062.tar.xz
mb/google/poppy/var/rammus: Enable mode change wake source for S3/S0ix
This change enables mode change as a wake source for S3 and S0ix. Change-Id: I2e7f9997776b1e024ea417eb69e6c2ffa8c62580 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/31296 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r--src/mainboard/google/poppy/variants/rammus/include/variant/ec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/poppy/variants/rammus/include/variant/ec.h b/src/mainboard/google/poppy/variants/rammus/include/variant/ec.h
index d4a07b5a58..ac17745fa0 100644
--- a/src/mainboard/google/poppy/variants/rammus/include/variant/ec.h
+++ b/src/mainboard/google/poppy/variants/rammus/include/variant/ec.h
@@ -51,7 +51,8 @@
*/
#define MAINBOARD_EC_S3_WAKE_EVENTS \
(MAINBOARD_EC_S5_WAKE_EVENTS |\
- EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEY_PRESSED))
+ EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEY_PRESSED) |\
+ EC_HOST_EVENT_MASK(EC_HOST_EVENT_MODE_CHANGE))
#define MAINBOARD_EC_S0IX_WAKE_EVENTS (MAINBOARD_EC_S3_WAKE_EVENTS)