Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60483 )
Change subject: superio/winbond/w83977tf/acpi: Replace Add(a,b,c) with ASL 2.0 syntax ......................................................................
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 --- M src/superio/winbond/w83977tf/acpi/superio.asl 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/60483/1
diff --git a/src/superio/winbond/w83977tf/acpi/superio.asl b/src/superio/winbond/w83977tf/acpi/superio.asl index 08d63da..eda6744 100644 --- a/src/superio/winbond/w83977tf/acpi/superio.asl +++ b/src/superio/winbond/w83977tf/acpi/superio.asl @@ -299,8 +299,8 @@ /* 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) }