summaryrefslogtreecommitdiff
path: root/src/mainboard/clevo/cml-u/smihandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/clevo/cml-u/smihandler.c')
-rw-r--r--src/mainboard/clevo/cml-u/smihandler.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mainboard/clevo/cml-u/smihandler.c b/src/mainboard/clevo/cml-u/smihandler.c
new file mode 100644
index 0000000000..e53ab452a6
--- /dev/null
+++ b/src/mainboard/clevo/cml-u/smihandler.c
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <console/console.h>
+#include <cpu/x86/smm.h>
+#include <ec/clevo/it5570e/smm.h>
+#include <intelblocks/smihandler.h>
+
+void mainboard_smi_sleep(u8 slp_typ)
+{
+ printk(BIOS_DEBUG, "Mainboard SMI sleep handler: %02x\n", slp_typ);
+ ec_smi_sleep(slp_typ);
+}
+
+int mainboard_smi_apmc(u8 apmc)
+{
+ printk(BIOS_DEBUG, "Mainboard SMI APMC handler: %02x\n", apmc);
+ ec_smi_apmc(apmc);
+
+ return 0;
+}