summaryrefslogtreecommitdiff
path: root/src/mainboard/bap/ode_e20XX/acpi/sleep.asl
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-08 09:14:30 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-26 20:59:23 +0000
commite404eb2aba8849a37b9f98f4d9bc4181eeffb234 (patch)
treea9973d8e495bfd28570647293062329d99b6d2f5 /src/mainboard/bap/ode_e20XX/acpi/sleep.asl
parentef7ea6b77f91d927fa0147212c0ca85726df1481 (diff)
mb/bap/ode_e20XX: Convert to ASL 2.0 syntax
Change-Id: I07705aed2f41cd0d2a7f4b980046995f44395f07 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46160 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/bap/ode_e20XX/acpi/sleep.asl')
-rw-r--r--src/mainboard/bap/ode_e20XX/acpi/sleep.asl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/bap/ode_e20XX/acpi/sleep.asl b/src/mainboard/bap/ode_e20XX/acpi/sleep.asl
index 47dd1460b1..fc26c306d9 100644
--- a/src/mainboard/bap/ode_e20XX/acpi/sleep.asl
+++ b/src/mainboard/bap/ode_e20XX/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) */
@@ -56,7 +56,7 @@ Method(\_WAK, 1) {
/* DBGO("From S") */
/* DBGO(Arg0) */
/* DBGO(" to S0\n") */
- Store(1,USBS)
+ USBS = 1
\_SB.AWAK(Arg0)