Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60672 )
Change subject: ec/smsc/mec1308/acpi: Replace LLess(a,b) with ASL 2.0 syntax ......................................................................
ec/smsc/mec1308/acpi: Replace LLess(a,b) with ASL 2.0 syntax
Replace `LLess(a, b)` with `a < b`.
Change-Id: Ib96cf05f575a2868b2ad0c00fd5486d6e2c5d90a Signed-off-by: Felix Singer felixsinger@posteo.net --- M src/ec/smsc/mec1308/acpi/battery.asl 1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/60672/1
diff --git a/src/ec/smsc/mec1308/acpi/battery.asl b/src/ec/smsc/mec1308/acpi/battery.asl index 0007c41..1e34e0d 100644 --- a/src/ec/smsc/mec1308/acpi/battery.asl +++ b/src/ec/smsc/mec1308/acpi/battery.asl @@ -157,8 +157,7 @@
// See if within ~3% of full ShiftRight (Local2, 5, Local3) - If (LGreater (Local1, Local2 - Local3) && - LLess (Local1, Local2 + Local3)) + If (LGreater (Local1, Local2 - Local3) && Local1 < Local2 + Local3) { Store (Local2, Local1) }