summaryrefslogtreecommitdiffstats
path: root/src/ec
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-01-02 01:32:42 +0100
committerFelix Singer <felixsinger@posteo.net>2022-06-09 09:13:31 +0000
commitd5d4b4459f88d48556ddfb6a4d17f845ea969995 (patch)
treedf628878e3c659f93ab25f7d63166d39ccc2d107 /src/ec
parent6119303a39d7dc082839f2fbe0bf27d971f708d7 (diff)
downloadcoreboot-d5d4b4459f88d48556ddfb6a4d17f845ea969995.tar.gz
coreboot-d5d4b4459f88d48556ddfb6a4d17f845ea969995.tar.bz2
coreboot-d5d4b4459f88d48556ddfb6a4d17f845ea969995.zip
ec/quanta/ene_kb3940q/acpi: Replace LLess(a,b) with ASL 2.0 syntax
Replace `LLess(a, b)` with `a < b`. Change-Id: Ic04ce82fbfd36bbd2e0cfda1a92ca0a18e1fcd73 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60671 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/quanta/ene_kb3940q/acpi/ec.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/quanta/ene_kb3940q/acpi/ec.asl b/src/ec/quanta/ene_kb3940q/acpi/ec.asl
index 1f1cf9729a47..9294e1bbba38 100644
--- a/src/ec/quanta/ene_kb3940q/acpi/ec.asl
+++ b/src/ec/quanta/ene_kb3940q/acpi/ec.asl
@@ -179,7 +179,7 @@ Device (EC0)
Store(\_SB.CP00._PPC, Local0)
Local1 = PPCM - 1
- If(LLess(Local0, Local1)) {
+ If(Local0 < Local1) {
Local0++
\PPCN ()
}