ec/google/chromeec: Initialize SMI mask in google_chromeec_events_init
commit1a5b7c6540e05e27cbb2c1985402e3b4d160e57e
authorFurquan Shaikh <furquan@google.com>
Wed, 30 May 2018 18:51:23 +0000 (30 11:51 -0700)
committerFurquan Shaikh <furquan@google.com>
Fri, 1 Jun 2018 12:47:17 +0000 (1 12:47 +0000)
tree051a67f6827177d600b55c032a0600dfe35c50b8
parent9bd601584350f51f112b15a7369f9aa82f1d0919
ec/google/chromeec: Initialize SMI mask in google_chromeec_events_init

This change adds smi_events to google_chromeec_event_info and allows
mainboards to set SMI mask if current boot type is not S3 wakeup.

Change-Id: I899a6af6e57d295b4eac2039c8245ebcc73a42bb
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/26709
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
src/ec/google/chromeec/ec.c
src/ec/google/chromeec/ec.h