summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-04 14:56:48 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-26 20:57:23 +0000
commit78b05575bf0f42ac9685d375a45478b35a9d99a6 (patch)
tree267544eefb30f41c911dff6ed33cc68fdf4b2ae7 /src/mainboard/lenovo
parent0200143db6c60cb90eda61911f2664ebf064b17a (diff)
mb/lenovo/t60: Convert *.asl to ASL 2.0 syntax
Generated 'build/dsdt.dsl' files are identical. Change-Id: Iea2c0600d696f9da6774affdc33d9c50d5cf2c95 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46010 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/t60/acpi/dock.asl2
-rw-r--r--src/mainboard/lenovo/t60/acpi/gpe.asl4
-rw-r--r--src/mainboard/lenovo/t60/acpi/platform.asl4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/lenovo/t60/acpi/dock.asl b/src/mainboard/lenovo/t60/acpi/dock.asl
index 8d03dab57c..a67b412b7e 100644
--- a/src/mainboard/lenovo/t60/acpi/dock.asl
+++ b/src/mainboard/lenovo/t60/acpi/dock.asl
@@ -28,7 +28,7 @@ Scope (\_SB)
TRAP(SMI_DOCK_DISCONNECT)
}
- Xor(Arg0, DSTA, Local0)
+ Local0 = Arg0 ^ DSTA
Return (Local0)
}
diff --git a/src/mainboard/lenovo/t60/acpi/gpe.asl b/src/mainboard/lenovo/t60/acpi/gpe.asl
index 62e7b37bb4..9984636860 100644
--- a/src/mainboard/lenovo/t60/acpi/gpe.asl
+++ b/src/mainboard/lenovo/t60/acpi/gpe.asl
@@ -5,8 +5,8 @@ Scope (\_GPE)
Method(_L18, 0, NotSerialized)
{
/* 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. */
- Increment (Local0)
+ Local0++
}
}
diff --git a/src/mainboard/lenovo/t60/acpi/platform.asl b/src/mainboard/lenovo/t60/acpi/platform.asl
index 2e3bfc06c8..50da033b2d 100644
--- a/src/mainboard/lenovo/t60/acpi/platform.asl
+++ b/src/mainboard/lenovo/t60/acpi/platform.asl
@@ -24,12 +24,12 @@ Method(_WAK,1)
// was inserted while a sleep state was active.
// Are we going to S3?
- If (LEqual(Arg0, 3)) {
+ If (Arg0 == 3) {
// ..
}
// Are we going to S4?
- If (LEqual(Arg0, 4)) {
+ If (Arg0 == 4) {
// ..
}