Attention is currently required from: Felix Held. HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/50331 )
Change subject: superio/winbond/w83667hg-a/ps2_controller.asl: Convert to ASL 2.0 ......................................................................
superio/winbond/w83667hg-a/ps2_controller.asl: Convert to ASL 2.0
Change-Id: I0f303a10127197fd261034b2d3cb93bd36b6c7c0 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/superio/winbond/w83667hg-a/ps2_controller.asl 1 file changed, 5 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/50331/1
diff --git a/src/superio/winbond/w83667hg-a/ps2_controller.asl b/src/superio/winbond/w83667hg-a/ps2_controller.asl index b0a435e..ab11ce7 100644 --- a/src/superio/winbond/w83667hg-a/ps2_controller.asl +++ b/src/superio/winbond/w83667hg-a/ps2_controller.asl @@ -45,16 +45,16 @@ 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) + Local0 = CR2A & 0x02
/* Restore default SuperIO access */ - Store(0xAA, SIOI) + SIOI = 0xaa
- if (LEqual(Local0, 0x0)) { + if (Local0 == 0) { /* Mouse function selected */ Return (0xf) }