From 883d8215038ccd783bed03b9acf175ec5f55d062 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Fri, 8 Feb 2019 17:39:31 -0800 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/31296 Tested-by: build bot (Jenkins) Reviewed-by: Zhuohao Lee Reviewed-by: Aaron Durbin --- .../google/poppy/variants/rammus/include/variant/ec.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)