32 lines
935 B
Diff
32 lines
935 B
Diff
From 53bddae0fc8436fe262ca7fc2e19049afa7a38f8 Mon Sep 17 00:00:00 2001
|
|
From: Nicholas Chin <nic.c3.14@gmail.com>
|
|
Date: Fri, 3 May 2024 16:31:12 -0600
|
|
Subject: [PATCH 38/39] mb/dell/: Add S3 SMI handler for SNB/IVB Latitudes
|
|
|
|
This should fix S3 suspend on these systems
|
|
|
|
Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com>
|
|
---
|
|
src/mainboard/dell/snb_ivb_latitude/smihandler.c | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
create mode 100644 src/mainboard/dell/snb_ivb_latitude/smihandler.c
|
|
|
|
diff --git a/src/mainboard/dell/snb_ivb_latitude/smihandler.c b/src/mainboard/dell/snb_ivb_latitude/smihandler.c
|
|
new file mode 100644
|
|
index 0000000000..334d7b1a5f
|
|
--- /dev/null
|
|
+++ b/src/mainboard/dell/snb_ivb_latitude/smihandler.c
|
|
@@ -0,0 +1,9 @@
|
|
+/* SPDX-License-Identifier: GPL-2.0-only */
|
|
+
|
|
+#include <cpu/x86/smm.h>
|
|
+#include <ec/dell/mec5035/mec5035.h>
|
|
+
|
|
+void mainboard_smi_sleep(u8 slp_typ)
|
|
+{
|
|
+ mec5035_sleep(slp_typ);
|
|
+}
|
|
--
|
|
2.39.2
|
|
|