summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 10:45:56 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 13:58:55 +0000
commit0d92ec872f8c6ad87e691299e270f45a7a6278e3 (patch)
treecf0734ffb020653c943837fdbbbb99a6572836e8 /src
parent291ba82acf42f0ec08ee47bbb7072078b46b4ebb (diff)
mb/google/kahlee/acpi: Replace Index() with ASL 2.0 syntax
Replace `Index (FOO, 0)` with `FOO[0]`. Change-Id: I81a2d63db3e3575acd91ea99e1490701889b896f Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60560 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/sleep.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/sleep.asl b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/sleep.asl
index d151e1d14d..7aaf4782cb 100644
--- a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/sleep.asl
+++ b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/sleep.asl
@@ -30,8 +30,8 @@ Method (_PTS, 1)
/* Clear wake status structure. */
Store (0, PEWD)
- Store (0, Index(WKST,0))
- Store (0, Index(WKST,1))
+ Store (0, WKST[0])
+ Store (0, WKST[1])
Store (7, UPWS)
}