summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/eve/ec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/eve/ec.c')
-rw-r--r--src/mainboard/google/eve/ec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/eve/ec.c b/src/mainboard/google/eve/ec.c
index 868714aac1f1..d5710f326d4f 100644
--- a/src/mainboard/google/eve/ec.c
+++ b/src/mainboard/google/eve/ec.c
@@ -24,6 +24,10 @@ void mainboard_ec_init(void)
google_chromeec_log_events(MAINBOARD_EC_LOG_EVENTS |
MAINBOARD_EC_S3_WAKE_EVENTS);
+ /* Log and clear device events that may wake the system */
+ google_chromeec_log_device_events(
+ MAINBOARD_EC_S3_DEVICE_EVENTS);
+
/* Disable SMI and wake events */
google_chromeec_set_smi_mask(0);