summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/rambi/ec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/google/rambi/ec.c b/src/mainboard/google/rambi/ec.c
index 307aedf28f..60f3d30d70 100644
--- a/src/mainboard/google/rambi/ec.c
+++ b/src/mainboard/google/rambi/ec.c
@@ -25,6 +25,7 @@ void mainboard_ec_init(void)
const struct google_chromeec_event_info info = {
.log_events = MAINBOARD_EC_LOG_EVENTS,
.sci_events = MAINBOARD_EC_SCI_EVENTS,
+ .smi_events = MAINBOARD_EC_SMI_EVENTS,
.s3_wake_events = MAINBOARD_EC_S3_WAKE_EVENTS,
.s5_wake_events = MAINBOARD_EC_S5_WAKE_EVENTS,
};
@@ -34,8 +35,5 @@ void mainboard_ec_init(void)
google_chromeec_events_init(&info, s3_wakeup);
- if (!s3_wakeup)
- google_chromeec_set_smi_mask(MAINBOARD_EC_SMI_EVENTS);
-
post_code(0xf1);
}