From 1f3135427b8393660db882199578a728842b4d0b Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Wed, 30 May 2018 11:52:23 -0700 Subject: mb/google/rambi: Set SMI mask using google_chromeec_events_init This change updates rambi ec init to perform SMI mask setting using google_chromeec_events_init. Change-Id: I7def3c07b4d7bfbe15b2d1c45381bdc31b7e3476 Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/26710 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel Reviewed-by: Aaron Durbin --- src/mainboard/google/rambi/ec.c | 4 +--- 1 file changed, 1 insertion(+), 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); } -- cgit v1.2.3