Attention is currently required from: Felix Held. Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60657 )
Change subject: superio/acpi: Replace LEqual(a,b) with ASL 2.0 syntax ......................................................................
superio/acpi: Replace LEqual(a,b) with ASL 2.0 syntax
Replace `LEqual(a, b)` with `a == b`.
Change-Id: Ia09c54465af47f5779917ed71bb3ea148864dfd1 Signed-off-by: Felix Singer felixsinger@posteo.net --- M src/superio/acpi/pnp.asl M src/superio/acpi/pnp_kbc.asl 2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/60657/1
diff --git a/src/superio/acpi/pnp.asl b/src/superio/acpi/pnp.asl index d5a26a7..dc5c390 100644 --- a/src/superio/acpi/pnp.asl +++ b/src/superio/acpi/pnp.asl @@ -81,7 +81,7 @@ ENTER_CONFIG_MODE (PM_LDN)\ Store (PM_REG, Local0)\ EXIT_CONFIG_MODE ()\ - If (LEqual(Local0, PM_VAL)) { Return (3) }\ + If (Local0 == PM_VAL) { Return (3) }\ Else { Return (0) }\
/* Disable power saving mode */ diff --git a/src/superio/acpi/pnp_kbc.asl b/src/superio/acpi/pnp_kbc.asl index 22a0556..ba03e19 100644 --- a/src/superio/acpi/pnp_kbc.asl +++ b/src/superio/acpi/pnp_kbc.asl @@ -156,7 +156,7 @@ Method (_STA) { Store (^^SUPERIO_ID(KBD, SUPERIO_KBC_LDN)._STA (), Local0) - If (LEqual (Local0, DEVICE_PRESENT_ACTIVE)) { + If (Local0 == DEVICE_PRESENT_ACTIVE) { PNP_GENERIC_STA(SUPERIO_KBC_PS2LDN) } Else { Return (Local0)