From 35e65a8bc36628baad7d2ed94bef7619971e6d88 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 16 Dec 2022 07:11:17 +0100 Subject: tree: Replace And(a,b,c) with ASL 2.0 syntax Replace `And (a, b, c)` with `c = a & b`, respectively `c &= b` where possible. Change-Id: Ie558f9d0b597c56ca3b31498edb68de8877d3a2f Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/70850 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/mainboard/lenovo/s230u/acpi/gpe.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/lenovo/s230u') diff --git a/src/mainboard/lenovo/s230u/acpi/gpe.asl b/src/mainboard/lenovo/s230u/acpi/gpe.asl index f9ba2096fb..27daf64028 100644 --- a/src/mainboard/lenovo/s230u/acpi/gpe.asl +++ b/src/mainboard/lenovo/s230u/acpi/gpe.asl @@ -20,7 +20,7 @@ Scope (_GPE) Local0 = One << Arg1 If (Arg0 == Zero) { Not (Local0, Local0) - And (GIV0, Local0, GIV0) + GIV0 &= Local0 } Else { GIV0 |= Local0 } -- cgit v1.2.3