diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2020-10-08 09:33:36 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-01-28 09:26:03 +0000 |
commit | 316466b76513dad87f1b7c90eab142ddea955fcc (patch) | |
tree | 83e4d001422d8f3b6012f9ee88f5978683bb0a8a /src/mainboard/google/parrot/acpi/platform.asl | |
parent | db11fa46ad4611d32e56e7b16c4b1cb6057404da (diff) |
mb/google/parrot: Convert to ASL 2.0 syntax
Change-Id: Ie802b540cea13000227c969bbc262f034d1b6b84
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46177
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/google/parrot/acpi/platform.asl')
-rw-r--r-- | src/mainboard/google/parrot/acpi/platform.asl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/google/parrot/acpi/platform.asl b/src/mainboard/google/parrot/acpi/platform.asl index 2e14a71699..861ba52ff6 100644 --- a/src/mainboard/google/parrot/acpi/platform.asl +++ b/src/mainboard/google/parrot/acpi/platform.asl @@ -15,16 +15,16 @@ Method(_WAK,1) { /* Update in case state changed while asleep */ /* Update AC status */ - Store (\_SB.PCI0.LPCB.EC0.ADPT, Local0) - if (LNotEqual (Local0, \PWRS)) { - Store (Local0, \PWRS) + Local0 = \_SB.PCI0.LPCB.EC0.ADPT + if (Local0 != \PWRS) { + \PWRS = Local0 Notify (\_SB.PCI0.LPCB.EC0.AC, 0x80) } /* Update LID status */ - Store (GP15, Local0) - if (LNotEqual (Local0, \LIDS)) { - Store (Local0, \LIDS) + Local0 = GP15 + if (Local0 != \LIDS) { + \LIDS = Local0 Notify (\_SB.LID0, 0x80) } |