summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef/smihandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/reef/smihandler.c')
-rw-r--r--src/mainboard/google/reef/smihandler.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/smihandler.c b/src/mainboard/google/reef/smihandler.c
index 05d363f876..e26c176b1b 100644
--- a/src/mainboard/google/reef/smihandler.c
+++ b/src/mainboard/google/reef/smihandler.c
@@ -18,8 +18,15 @@
#include <cpu/x86/smm.h>
#include <ec/google/chromeec/smm.h>
#include <soc/pm.h>
+#include <soc/smm.h>
#include "ec.h"
+void mainboard_smi_gpi_handler(const struct gpi_status *sts)
+{
+ if (gpi_status_get(sts, EC_SMI_GPI))
+ chromeec_smi_process_events();
+}
+
void mainboard_smi_sleep(u8 slp_typ)
{
if (slp_typ == ACPI_S3)