summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/strago/acpi
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-11 20:52:09 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-12 21:45:10 +0000
commitb8762ae2dc559dda2e76a14d27ff4d68d8d6002d (patch)
treed61d45efc90e85857d04bd75d269fbec18f32f17 /src/mainboard/intel/strago/acpi
parent43b5730962d7898db040eb7004aa6fb655188e03 (diff)
mb/intel/acpi: Replace LEqual(a,b) with ASL 2.0 syntax
Replace `LEqual (a, b)` with `a == b`. Change-Id: I99f34d4c03b0687b8e0c2e4aee85f196679bcf52 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70585 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/intel/strago/acpi')
-rw-r--r--src/mainboard/intel/strago/acpi/mainboard.asl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/intel/strago/acpi/mainboard.asl b/src/mainboard/intel/strago/acpi/mainboard.asl
index 0a7fb5c97c..dcfb0407e6 100644
--- a/src/mainboard/intel/strago/acpi/mainboard.asl
+++ b/src/mainboard/intel/strago/acpi/mainboard.asl
@@ -41,7 +41,7 @@ Scope (\_SB.PCI0.I2C1)
Method (_STA)
{
- If (LEqual (\S1EN, 1)) {
+ If (\S1EN == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -80,7 +80,7 @@ Scope (\_SB.PCI0.I2C1)
Method (_STA)
{
- If (LEqual (\S1EN, 1)) {
+ If (\S1EN == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -155,7 +155,7 @@ Scope (\_SB.PCI0.I2C6)
Method (_STA)
{
- If (LEqual (\S6EN, 1)) {
+ If (\S6EN == 1) {
Return (0xF)
} Else {
Return (0x0)