From 1bb621c002121bc84ba0fb8be9e9166520936b55 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Mon, 12 Dec 2022 06:46:28 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70680 Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas Reviewed-by: Arthur Heymans Reviewed-by: Eric Lai --- src/superio/winbond/w83667hg-a/ps2_controller.asl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 */ -- cgit v1.2.3