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>
This commit is contained in:
Felix Singer 2021-12-30 01:17:52 +01:00
parent 2c670870fd
commit 44b014950b
1 changed files with 2 additions and 2 deletions

View File

@ -299,8 +299,8 @@ Device (ECP)
/* Report a second port range that is 0x400 above base port. */ /* Report a second port range that is 0x400 above base port. */
CreateByteField (BUF6, 0x0B, I2HI) CreateByteField (BUF6, 0x0B, I2HI)
CreateByteField (BUF6, 0x0D, I2RH) CreateByteField (BUF6, 0x0D, I2RH)
Add (I2HI, 0x04, I2RH) I2RH = I2HI + 4
Add (I2HI, 0x04, I2HI) I2HI = I2HI + 4
EXIT_CONFIG_MODE() EXIT_CONFIG_MODE()
Return (BUF6) Return (BUF6)
} }