summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/haswell/acpi
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-05-22 03:20:46 +0200
committerPaul Fagerburg <pfagerburg@chromium.org>2022-05-31 13:41:18 +0000
commit1b3197efb40a19353f26ca565ed81248e3db43e1 (patch)
tree7abf495dede230a7f57d1a7b6fc27789e2b6240b /src/mainboard/lenovo/haswell/acpi
parentc754462717b79c2d334a5de8fc269b346468dbe6 (diff)
mb/lenovo: Rename t440p to haswell
In preparation to follow-up commits, rename the mainboard folder from t440p to haswell, which will have more variants later. Change-Id: I4a9d68d54d5f0821bbf85faaa620855d456c97f3 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63511 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/lenovo/haswell/acpi')
-rw-r--r--src/mainboard/lenovo/haswell/acpi/ec.asl4
-rw-r--r--src/mainboard/lenovo/haswell/acpi/platform.asl14
-rw-r--r--src/mainboard/lenovo/haswell/acpi/superio.asl3
3 files changed, 21 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/haswell/acpi/ec.asl b/src/mainboard/lenovo/haswell/acpi/ec.asl
new file mode 100644
index 0000000000..8dea152079
--- /dev/null
+++ b/src/mainboard/lenovo/haswell/acpi/ec.asl
@@ -0,0 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <ec/lenovo/h8/acpi/ec.asl>
+#include <ec/lenovo/h8/acpi/thinkpad_bat_thresholds_b0.asl>
diff --git a/src/mainboard/lenovo/haswell/acpi/platform.asl b/src/mainboard/lenovo/haswell/acpi/platform.asl
new file mode 100644
index 0000000000..f5a4df75f4
--- /dev/null
+++ b/src/mainboard/lenovo/haswell/acpi/platform.asl
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+Method(_WAK,1)
+{
+ /* ME may not be up yet. */
+ \_TZ.MEB1 = 0
+ \_TZ.MEB2 = 0
+ Return(Package(){0,0})
+}
+
+Method(_PTS,1)
+{
+ \_SB.PCI0.LPCB.EC.RADI(0)
+}
diff --git a/src/mainboard/lenovo/haswell/acpi/superio.asl b/src/mainboard/lenovo/haswell/acpi/superio.asl
new file mode 100644
index 0000000000..ee2eabeb75
--- /dev/null
+++ b/src/mainboard/lenovo/haswell/acpi/superio.asl
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <drivers/pc80/pc/ps2_controller.asl>