aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaunak Saha <shaunak.saha@intel.com>2018-04-09 03:49:55 -0700
committerMartin Roth <martinroth@google.com>2018-04-12 15:18:32 +0000
commite96df83583d94ab8cddaa9f8ed8977067336712a (patch)
tree5fec5fb6ce032d7748df20dc4a74fc9f500923ea
parent1f54e9571ed9588ce91ad8f3ef8a7f2481f88397 (diff)
mb/google/octopus: Configure SMI for ESPI
This patch enables EC SMI when ESPI is enabled. BUG=b:77857802 TEST= SMI is working in depthcharge. Change-Id: I52726194b8346488e5ad781e78e33c5d286d132f Signed-off-by: Shaunak Saha <shaunak.saha@intel.com> Reviewed-on: https://review.coreboot.org/25569 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/octopus/smihandler.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/octopus/smihandler.c b/src/mainboard/google/octopus/smihandler.c
index 59ac217bbd..d430c4d17f 100644
--- a/src/mainboard/google/octopus/smihandler.c
+++ b/src/mainboard/google/octopus/smihandler.c
@@ -47,3 +47,8 @@ int mainboard_smi_apmc(u8 apmc)
MAINBOARD_EC_SMI_EVENTS);
return 0;
}
+
+void mainboard_smi_espi_handler(void)
+{
+ chromeec_smi_process_events();
+}