summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/butterfly/acpi/platform.asl
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-08 09:30:57 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-28 21:37:14 +0000
commitcdad79659d0f3aa7f7c1d8bf9383e0fb9d074013 (patch)
tree8e5a1a30ee92f08de39ae40f0b097521c7f593d9 /src/mainboard/google/butterfly/acpi/platform.asl
parent94239cd6b111ecdb780b901ba825e16b378c0bdc (diff)
downloadcoreboot-cdad79659d0f3aa7f7c1d8bf9383e0fb9d074013.tar.gz
coreboot-cdad79659d0f3aa7f7c1d8bf9383e0fb9d074013.tar.bz2
coreboot-cdad79659d0f3aa7f7c1d8bf9383e0fb9d074013.zip
mb/google/butterfly: Convert to ASL 2.0 syntax
Generated 'build/dsdt.dsl' files are same. Change-Id: I85edf649a5170a1658fb135b797c1c6e1d2a9d70 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46171 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/google/butterfly/acpi/platform.asl')
-rw-r--r--src/mainboard/google/butterfly/acpi/platform.asl12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/google/butterfly/acpi/platform.asl b/src/mainboard/google/butterfly/acpi/platform.asl
index f59e48508a0e..7c8a81524622 100644
--- a/src/mainboard/google/butterfly/acpi/platform.asl
+++ b/src/mainboard/google/butterfly/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 (\_SB.PCI0.LPCB.EC0.LIDF, Local0)
- if (LNotEqual (Local0, \LIDS)) {
- Store (Local0, \LIDS)
+ Local0 = \_SB.PCI0.LPCB.EC0.LIDF
+ if (Local0 != \LIDS) {
+ \LIDS = Local0
Notify (\_SB.LID0, 0x80)
}