Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60669 )
Change subject: ec/smsc/mec1308/acpi: Replace LEqual(a,b) with ASL 2.0 syntax ......................................................................
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 felixsinger@posteo.net --- M src/ec/smsc/mec1308/acpi/battery.asl 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/60669/1
diff --git a/src/ec/smsc/mec1308/acpi/battery.asl b/src/ec/smsc/mec1308/acpi/battery.asl index 0cc41a1..0007c41 100644 --- a/src/ec/smsc/mec1308/acpi/battery.asl +++ b/src/ec/smsc/mec1308/acpi/battery.asl @@ -63,7 +63,7 @@ ShiftLeft (Arg0, 8, Local1) And (Local1, 0xFF00, Local1) Or (Local0, Local1, Local0) - If (LEqual (Local0, 0xFFFF)) { + If (Local0 == 0xFFFF) { Store (0xFFFFFFFF, Local0) } Return (Local0)