aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/link/acpi/platform.asl
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-08 09:33:16 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-11-04 09:43:13 +0000
commit527690c7bf6f96b52496d26223e8ac885dedf907 (patch)
tree1e01ffe16704fe8fdfb13ece016de0753b062aa9 /src/mainboard/google/link/acpi/platform.asl
parent3ed5c9e3cdf7eb38c92c4c75c2eee6fb22d61eea (diff)
mb/google/link: Convert to ASL 2.0 syntax
Generated 'dsdt.dsl' files are identical. Change-Id: I7d4fc3acd82023b007d80638bcb71476330ef320 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46176 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/link/acpi/platform.asl')
-rw-r--r--src/mainboard/google/link/acpi/platform.asl14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mainboard/google/link/acpi/platform.asl b/src/mainboard/google/link/acpi/platform.asl
index 35893ee1a7..12b14530f2 100644
--- a/src/mainboard/google/link/acpi/platform.asl
+++ b/src/mainboard/google/link/acpi/platform.asl
@@ -7,7 +7,7 @@
Method(_PTS,1)
{
/* Disable WWAN */
- Store (Zero, GP36)
+ GP36 = 0
}
/* The _WAK method is called on system wakeup */
@@ -15,16 +15,16 @@ Method(_PTS,1)
Method(_WAK,1)
{
/* Update AC status */
- Store (\_SB.PCI0.LPCB.EC0.ACEX, Local0)
- if (LNotEqual (Local0, \PWRS)) {
- Store (Local0, \PWRS)
+ Local0 = \_SB.PCI0.LPCB.EC0.ACEX
+ if (Local0 != \PWRS) {
+ \PWRS = Local0
Notify (\_SB.PCI0.LPCB.EC0.AC, 0x80)
}
/* Update LID status */
- Store (\_SB.PCI0.LPCB.EC0.LIDS, Local0)
- if (LNotEqual (Local0, \LIDS)) {
- Store (Local0, \LIDS)
+ Local0 = \_SB.PCI0.LPCB.EC0.LIDS
+ if (Local0 != \LIDS) {
+ \LIDS = Local0
Notify (\_SB.PCI0.LPCB.EC0.LID0, 0x80)
}