From 44b014950b2aa3cb5fac72398dbfb5ad98b1aa2a Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Thu, 30 Dec 2021 01:17:52 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60483 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes --- src/superio/winbond/w83977tf/acpi/superio.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) } -- cgit v1.2.3