diff options
author | Kane Chen <kane.chen@intel.com> | 2020-08-18 17:17:38 +0800 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2020-08-24 13:50:39 +0000 |
commit | bf4e71e1b3412d3fc864f6b1e4eda22f60c6d47d (patch) | |
tree | 14a515b34718501a93713d321f7bdf6a3071212c /src | |
parent | 000549266e51c6a91d6532564cd70fc63d2ae6b3 (diff) | |
download | coreboot-bf4e71e1b3412d3fc864f6b1e4eda22f60c6d47d.tar.xz |
mb/google/dedede: add mainboard_smi_espi_handler for dedede.
By adding mainboard_smi_espi_handler, the espi smi can be handled
properly.
BUG=b:163382105
TEST=Tested lid close smi can be handled properly in depthcharge stage
Signed-off-by: Kane Chen <kane.chen@intel.com>
Change-Id: I8a2ecb52d5f6586f8acd57c4965b4238b95e3b64
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44564
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>
Reviewed-by: Aamir Bohra <aamir.bohra@intel.com>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/dedede/smihandler.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/smihandler.c b/src/mainboard/google/dedede/smihandler.c index 0254810ef3..20f0207edb 100644 --- a/src/mainboard/google/dedede/smihandler.c +++ b/src/mainboard/google/dedede/smihandler.c @@ -36,3 +36,8 @@ void elog_gsmi_cb_mainboard_log_wake_source(void) { google_chromeec_log_events(MAINBOARD_EC_LOG_EVENTS | MAINBOARD_EC_S0IX_WAKE_EVENTS); } + +void mainboard_smi_espi_handler(void) +{ + chromeec_smi_process_events(); +} |