mb/lenovo/x60: Convert *.asl to ASL 2.0 syntax

Generated 'build/dsdt.dsl' are identical.

Change-Id: I305561625d973093645236c77ef13a96ab780f94
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46011
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
Elyes HAOUAS 2020-10-04 14:57:09 +02:00 committed by Michael Niewöhner
parent 328a023795
commit 9759dc334e
3 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@ Scope (\_SB)
TRAP(SMI_DOCK_DISCONNECT) TRAP(SMI_DOCK_DISCONNECT)
} }
Xor(Arg0, DSTA, Local0) Local0 = Arg0 ^ DSTA
Return (Local0) Return (Local0)
} }

View File

@ -5,8 +5,8 @@ Scope (\_GPE)
Method(_L18, 0, NotSerialized) Method(_L18, 0, NotSerialized)
{ {
/* Read EC register to clear wake status */ /* Read EC register to clear wake status */
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0) Local0 = \_SB.PCI0.LPCB.EC.WAKE
/* So that we don't get a warning that Local0 is unused. */ /* So that we don't get a warning that Local0 is unused. */
Increment (Local0) Local0++
} }
} }

View File

@ -24,12 +24,12 @@ Method(_WAK,1)
// was inserted while a sleep state was active. // was inserted while a sleep state was active.
// Are we going to S3? // Are we going to S3?
If (LEqual(Arg0, 3)) { If (Arg0 == 3) {
// .. // ..
} }
// Are we going to S4? // Are we going to S4?
If (LEqual(Arg0, 4)) { If (Arg0 == 4) {
// .. // ..
} }