summaryrefslogtreecommitdiff
path: root/src/mainboard/hp/820g2/acpi/platform.asl
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2021-04-24 21:22:10 +0800
committerIru Cai <mytbk920423@gmail.com>2021-05-21 20:30:32 +0800
commit35fd3331f471144d40358a85a43529fa5f172075 (patch)
treed577c4bed65aaa6b55f920149cbe73ed7b612e50 /src/mainboard/hp/820g2/acpi/platform.asl
parenta1a8c2c621a4ae1e093c63e6b1c34b049da5f0b8 (diff)
downloadcoreboot-35fd3331f471144d40358a85a43529fa5f172075.tar.xz
mb/hp: Add EliteBook 820 G2
It can now boot Arch Linux from SATA and USB. Change-Id: Id8b3b7f735460c5e76a2dc9ab2d10154e6606ad6 Signed-off-by: Iru Cai <mytbk920423@gmail.com>
Diffstat (limited to 'src/mainboard/hp/820g2/acpi/platform.asl')
-rw-r--r--src/mainboard/hp/820g2/acpi/platform.asl14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/hp/820g2/acpi/platform.asl b/src/mainboard/hp/820g2/acpi/platform.asl
new file mode 100644
index 0000000000..8023ae826c
--- /dev/null
+++ b/src/mainboard/hp/820g2/acpi/platform.asl
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+Method(_WAK,1)
+{
+ \_SB.PCI0.LPCB.EC0.ACPI = 1
+ \_SB.PCI0.LPCB.EC0.SLPT = 0
+
+ Return(Package(){0,0})
+}
+
+Method(_PTS,1)
+{
+ \_SB.PCI0.LPCB.EC0.SLPT = Arg0
+}