From 7bf014f0adcf46defe48a502118ecde05a9b4dd8 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 2 Jan 2022 01:26:43 +0100 Subject: ec/smsc/mec1308/acpi: Replace LEqual(a,b) with ASL 2.0 syntax Replace `LEqual(a, b)` with `a == b`. Change-Id: Ic58e22046aa13549747692f4b21184cf573aa4d3 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60669 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes --- src/ec/smsc/mec1308/acpi/battery.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ec/smsc') diff --git a/src/ec/smsc/mec1308/acpi/battery.asl b/src/ec/smsc/mec1308/acpi/battery.asl index 0cc41a178b..0007c4129f 100644 --- a/src/ec/smsc/mec1308/acpi/battery.asl +++ b/src/ec/smsc/mec1308/acpi/battery.asl @@ -63,7 +63,7 @@ Device (BAT0) ShiftLeft (Arg0, 8, Local1) And (Local1, 0xFF00, Local1) Or (Local0, Local1, Local0) - If (LEqual (Local0, 0xFFFF)) { + If (Local0 == 0xFFFF) { Store (0xFFFFFFFF, Local0) } Return (Local0) -- cgit v1.2.3