summaryrefslogtreecommitdiff
path: root/src/superio/winbond/w83667hg-a/ps2_controller.asl
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-12 06:46:28 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-14 00:50:42 +0000
commit1bb621c002121bc84ba0fb8be9e9166520936b55 (patch)
tree0bf5e26d54c3fb1d4a08a790a7b33e4dd168717c /src/superio/winbond/w83667hg-a/ps2_controller.asl
parenta61e6546f6c736f90ad87b6be348a62c76ab2c7d (diff)
sio/winbond/w83667hg-a/acpi: Replace Store(a,b) with ASL 2.0 syntax
Replace `Store (a, b)` with `b = a`. Change-Id: I3809880312af4736407e361da53f0424280e43d4 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70680 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/superio/winbond/w83667hg-a/ps2_controller.asl')
-rw-r--r--src/superio/winbond/w83667hg-a/ps2_controller.asl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/superio/winbond/w83667hg-a/ps2_controller.asl b/src/superio/winbond/w83667hg-a/ps2_controller.asl
index 172a63c4c6..ef9a01fe96 100644
--- a/src/superio/winbond/w83667hg-a/ps2_controller.asl
+++ b/src/superio/winbond/w83667hg-a/ps2_controller.asl
@@ -45,14 +45,14 @@
Method(_STA, 0)
{
/* Access SuperIO ACPI device */
- Store(0x87, SIOI)
- Store(0x87, SIOI)
+ SIOI = 0x87
+ SIOI = 0x87
/* Read Pin56 function select */
And(CR2A, 0x2, Local0)
/* Restore default SuperIO access */
- Store(0xAA, SIOI)
+ SIOI = 0xAA
if (Local0 == 0) {
/* Mouse function selected */