aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t400/acpi/dock.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lenovo/t400/acpi/dock.asl')
-rw-r--r--src/mainboard/lenovo/t400/acpi/dock.asl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/lenovo/t400/acpi/dock.asl b/src/mainboard/lenovo/t400/acpi/dock.asl
index 9a6d354be9..dce1d1a5a5 100644
--- a/src/mainboard/lenovo/t400/acpi/dock.asl
+++ b/src/mainboard/lenovo/t400/acpi/dock.asl
@@ -12,14 +12,14 @@ Scope (\_SB)
{
if (Arg0) {
/* connect dock */
- Store (1, \GP28)
- Store (1, \_SB.PCI0.LPCB.EC.DKR1)
+ \GP28 = 1
+ \_SB.PCI0.LPCB.EC.DKR1 = 1
} else {
/* disconnect dock */
- Store (0, \GP28)
- Store (0, \_SB.PCI0.LPCB.EC.DKR1)
+ \GP28 = 0
+ \_SB.PCI0.LPCB.EC.DKR1 = 0
}
- Xor(Arg0, \_SB.PCI0.LPCB.EC.DKR1, Local0)
+ Local0 = Arg0 ^ \_SB.PCI0.LPCB.EC.DKR1
Return (Local0)
}