summaryrefslogtreecommitdiff
path: root/src/mainboard/google/fizz/smihandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/fizz/smihandler.c')
-rw-r--r--src/mainboard/google/fizz/smihandler.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/fizz/smihandler.c b/src/mainboard/google/fizz/smihandler.c
index 3aa9ddb53a..2b7367ad34 100644
--- a/src/mainboard/google/fizz/smihandler.c
+++ b/src/mainboard/google/fizz/smihandler.c
@@ -17,6 +17,7 @@
#include <ec/google/chromeec/smm.h>
#include <soc/smm.h>
+#include <baseboard/variants.h>
#include <variant/ec.h>
void mainboard_smi_espi_handler(void)
@@ -24,8 +25,11 @@ void mainboard_smi_espi_handler(void)
chromeec_smi_process_events();
}
+void __weak variant_smi_sleep(u8 slp_typ) {}
+
void mainboard_smi_sleep(u8 slp_typ)
{
+ variant_smi_sleep(slp_typ);
chromeec_smi_sleep(slp_typ, MAINBOARD_EC_S3_WAKE_EVENTS,
MAINBOARD_EC_S5_WAKE_EVENTS);
}