diff options
Diffstat (limited to 'src/mainboard/google/poppy/ec.h')
-rw-r--r-- | src/mainboard/google/poppy/ec.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mainboard/google/poppy/ec.h b/src/mainboard/google/poppy/ec.h index 5ee71ceb97..7b53bfe12e 100644 --- a/src/mainboard/google/poppy/ec.h +++ b/src/mainboard/google/poppy/ec.h @@ -44,10 +44,14 @@ (EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_POWER_BUTTON)) -/* EC can wake from S3 with lid or power button or key press */ +/* + * EC can wake from S3 with lid or power button or key press or + * mode change event. + */ #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)) /* Log EC wake events plus EC shutdown events */ #define MAINBOARD_EC_LOG_EVENTS \ |