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>
This commit is contained in:
@@ -63,7 +63,7 @@ Device (BAT0)
|
|||||||
ShiftLeft (Arg0, 8, Local1)
|
ShiftLeft (Arg0, 8, Local1)
|
||||||
And (Local1, 0xFF00, Local1)
|
And (Local1, 0xFF00, Local1)
|
||||||
Or (Local0, Local1, Local0)
|
Or (Local0, Local1, Local0)
|
||||||
If (LEqual (Local0, 0xFFFF)) {
|
If (Local0 == 0xFFFF) {
|
||||||
Store (0xFFFFFFFF, Local0)
|
Store (0xFFFFFFFF, Local0)
|
||||||
}
|
}
|
||||||
Return (Local0)
|
Return (Local0)
|
||||||
|
Reference in New Issue
Block a user