diff options
author | Furquan Shaikh <furquan@google.com> | 2018-05-30 11:52:23 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2018-06-01 12:47:25 +0000 |
commit | 1f3135427b8393660db882199578a728842b4d0b (patch) | |
tree | 42e8ec5301be1e8702dbd0e69364ae5377faf787 /src/mainboard/google/rambi | |
parent | 1a5b7c6540e05e27cbb2c1985402e3b4d160e57e (diff) | |
download | coreboot-1f3135427b8393660db882199578a728842b4d0b.tar.xz |
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 <furquan@google.com>
Reviewed-on: https://review.coreboot.org/26710
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/rambi')
-rw-r--r-- | src/mainboard/google/rambi/ec.c | 4 |
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); } |