aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/stout/acpi/platform.asl
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-08 09:35:09 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-26 20:54:08 +0000
commit24130ec42c650fc2fc833fa3ad355015cab8349e (patch)
tree48351927a54b09f955ceee60e36792673429344d /src/mainboard/google/stout/acpi/platform.asl
parent6c78420bcb0444f62ac41f9f0f4d0e1f4c9dd48c (diff)
mb/google/stout: Convert to ASL 2.0 syntax
Generated 'build/dsdt.dsl' files are identical. Change-Id: I1ceb2abdd2562c145b01db7307d817c858d6b978 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46180 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/google/stout/acpi/platform.asl')
-rw-r--r--src/mainboard/google/stout/acpi/platform.asl14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mainboard/google/stout/acpi/platform.asl b/src/mainboard/google/stout/acpi/platform.asl
index 822059961b..b3421d564b 100644
--- a/src/mainboard/google/stout/acpi/platform.asl
+++ b/src/mainboard/google/stout/acpi/platform.asl
@@ -7,7 +7,7 @@
Method(_PTS,1)
{
// Notify EC to enter S3
- Store(0x01, \_SB.PCI0.LPCB.EC0.S3FG)
+ \_SB.PCI0.LPCB.EC0.S3FG = 0x01
}
/* 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.ACPW, Local0)
- if (LNotEqual (Local0, \PWRS)) {
- Store (Local0, \PWRS)
+ Local0 = \_SB.PCI0.LPCB.EC0.ACPW
+ if (Local0 != \PWRS) {
+ \PWRS = Local0
Notify (\_SB.PCI0.LPCB.EC0.AC, 0x80)
}
/* Update LID status */
- Store (NOT(\_SB.PCI0.LPCB.EC0.HPLD), Local0)
- if (LNotEqual (Local0, \LIDS)) {
- Store (Local0, \LIDS)
+ Local0 = ~\_SB.PCI0.LPCB.EC0.HPLD
+ if (Local0 != \LIDS) {
+ \LIDS = Local0
Notify (\_SB.LID0, 0x80)
}