aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t410/acpi/dock.asl
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-08 09:53:17 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-24 21:41:03 +0000
commitcb108eef218ddea5d8a51f77bd5e3373687b260c (patch)
tree7101a6b6d8e70aefff5d7e8cde8fc501d3c1352c /src/mainboard/lenovo/t410/acpi/dock.asl
parent9759dc334e526003fc342db309f6a447458d06c0 (diff)
mb/lenovo/t410: Convert to ASL 2.0 syntax
Change-Id: I5859c64b0ccd1dfdce040b2c3bbdd9192617ffbe Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46193 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/lenovo/t410/acpi/dock.asl')
-rw-r--r--src/mainboard/lenovo/t410/acpi/dock.asl18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mainboard/lenovo/t410/acpi/dock.asl b/src/mainboard/lenovo/t410/acpi/dock.asl
index 4771c5197e..a94762f83f 100644
--- a/src/mainboard/lenovo/t410/acpi/dock.asl
+++ b/src/mainboard/lenovo/t410/acpi/dock.asl
@@ -12,18 +12,18 @@ Scope (\_SB)
{
if (Arg0) {
/* connect dock */
- Store (1, \GP28)
- Store (1, \_SB.PCI0.LPCB.EC.DKR1)
- Store (1, \_SB.PCI0.LPCB.EC.DKR2)
- Store (1, \_SB.PCI0.LPCB.EC.DKR3)
+ \GP28 = 1
+ \_SB.PCI0.LPCB.EC.DKR1 = 1
+ \_SB.PCI0.LPCB.EC.DKR2 = 1
+ \_SB.PCI0.LPCB.EC.DKR3 = 1
} else {
/* disconnect dock */
- Store (0, \GP28)
- Store (0, \_SB.PCI0.LPCB.EC.DKR1)
- Store (0, \_SB.PCI0.LPCB.EC.DKR2)
- Store (0, \_SB.PCI0.LPCB.EC.DKR3)
+ \GP28 = 0
+ \_SB.PCI0.LPCB.EC.DKR1 = 0
+ \_SB.PCI0.LPCB.EC.DKR2 = 0
+ \_SB.PCI0.LPCB.EC.DKR3 = 0
}
- Xor(Arg0, \_SB.PCI0.LPCB.EC.DKR1, Local0)
+ Local0 = Arg0 ^ \_SB.PCI0.LPCB.EC.DKR1
Return (Local0)
}