summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-08 10:09:50 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-10-12 14:38:34 +0000
commitc185cc69f3e362dd0f6f87f000702e2df379b6ef (patch)
treeeb5185d5afff68595f6d1a1d6d9b380d06ee8cd6 /src
parent6fc7e414f4f85775b6a9885a6048d6b4cf00a374 (diff)
mb/pcengines/apu2: Convert to ASL 2.0 syntax
Change-Id: Ie2b1b27c0715fc223e644c3df6c0e9cb876322c8 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46213 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/pcengines/apu2/acpi/sleep.asl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/pcengines/apu2/acpi/sleep.asl b/src/mainboard/pcengines/apu2/acpi/sleep.asl
index 39fe610fa7..377f0de5f8 100644
--- a/src/mainboard/pcengines/apu2/acpi/sleep.asl
+++ b/src/mainboard/pcengines/apu2/acpi/sleep.asl
@@ -30,9 +30,9 @@ Method(_PTS, 1) {
/* DBGO("\n") */
/* Clear wake status structure. */
- Store(0, Index(WKST,0))
- Store(0, Index(WKST,1))
- Store(7, UPWS)
+ WKST [0] = 0
+ WKST [1] = 0
+ UPWS = 7
\_SB.APTS(Arg0)
} /* End Method(\_PTS) */
@@ -58,7 +58,7 @@ Method(\_WAK, 1) {
/* DBGO(" to S0\n") */
/* clear USB wake up signal */
- Store(1, USBS)
+ USBS = 1
\_SB.AWAK(Arg0)