aboutsummaryrefslogtreecommitdiff
path: root/src/superio/winbond
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-30 01:17:52 +0100
committerFelix Singer <felixsinger@posteo.net>2021-12-31 00:24:03 +0000
commit44b014950b2aa3cb5fac72398dbfb5ad98b1aa2a (patch)
treec11e573f4fd875b555541af792bcf11f376645c9 /src/superio/winbond
parent2c670870fdac7fcce39e2234955616e815fe013a (diff)
superio/winbond/w83977tf/acpi: Replace Add(a,b,c) with ASL 2.0 syntax
Replace `Add (a, b, c)` with `c = a + b`. Change-Id: I8028497d89a504d9bb277de5c0247e324e4cd608 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60483 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/superio/winbond')
-rw-r--r--src/superio/winbond/w83977tf/acpi/superio.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/winbond/w83977tf/acpi/superio.asl b/src/superio/winbond/w83977tf/acpi/superio.asl
index 08d63da530..eda674449a 100644
--- a/src/superio/winbond/w83977tf/acpi/superio.asl
+++ b/src/superio/winbond/w83977tf/acpi/superio.asl
@@ -299,8 +299,8 @@ Device (ECP)
/* Report a second port range that is 0x400 above base port. */
CreateByteField (BUF6, 0x0B, I2HI)
CreateByteField (BUF6, 0x0D, I2RH)
- Add (I2HI, 0x04, I2RH)
- Add (I2HI, 0x04, I2HI)
+ I2RH = I2HI + 4
+ I2HI = I2HI + 4
EXIT_CONFIG_MODE()
Return (BUF6)
}