From e96df83583d94ab8cddaa9f8ed8977067336712a Mon Sep 17 00:00:00 2001 From: Shaunak Saha Date: Mon, 9 Apr 2018 03:49:55 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/25569 Reviewed-by: Aaron Durbin Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/mainboard/google/octopus/smihandler.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainboard/google/octopus') 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(); +} -- cgit v1.2.3