diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-01-02 01:26:43 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-06-09 09:15:56 +0000 |
commit | 7bf014f0adcf46defe48a502118ecde05a9b4dd8 (patch) | |
tree | d0ef63ca884d879872368a3a5dd03f866504a905 /src/ec/smsc/mec1308 | |
parent | d40d0b0398684eeabab1d12bbbf223b7725502f6 (diff) |
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>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60669
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'src/ec/smsc/mec1308')
-rw-r--r-- | src/ec/smsc/mec1308/acpi/battery.asl | 2 |
1 files changed, 1 insertions, 1 deletions
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) |