mb/google/rambi/acpi: Replace LEqual(a,b) with ASL 2.0 syntax

Replace `LEqual (a, b)` with `a == b`.

Change-Id: Ief985f8b7b14e8879a068140cb1f9b28c7336e94
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70597
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Singer 2022-12-11 23:19:04 +01:00
parent 096158d6e0
commit 01a06b203e
6 changed files with 8 additions and 8 deletions

View File

@ -23,7 +23,7 @@ Scope (\_SB)
Method (_CRS) Method (_CRS)
{ {
/* Only return interrupt if I2C1 is PCI mode */ /* Only return interrupt if I2C1 is PCI mode */
If (LEqual (\S1EN, 0)) { If (\S1EN == 0) {
Return (^RBUF) Return (^RBUF)
} }
@ -51,7 +51,7 @@ Scope (\_SB)
Method (_CRS) Method (_CRS)
{ {
/* Return interrupt if I2C6 is PCI mode */ /* Return interrupt if I2C6 is PCI mode */
If (LEqual (\S6EN, 0)) { If (\S6EN == 0) {
Return (^RBUF) Return (^RBUF)
} }
@ -93,7 +93,7 @@ Scope (\_SB.PCI0.I2C2)
Method (_STA) Method (_STA)
{ {
If (LEqual (\S2EN, 1)) { If (\S2EN == 1) {
Return (0xF) Return (0xF)
} Else { } Else {
Return (0x0) Return (0x0)

View File

@ -29,7 +29,7 @@ Scope (\_SB.PCI0.I2C6)
Method (_STA) Method (_STA)
{ {
If (LEqual (\S6EN, 1)) { If (\S6EN == 1) {
Return (0xF) Return (0xF)
} Else { } Else {
Return (0x0) Return (0x0)

View File

@ -28,7 +28,7 @@ Scope (\_SB.PCI0.I2C6)
Method (_STA) Method (_STA)
{ {
If (LEqual (\S6EN, 1)) { If (\S6EN == 1) {
Return (0xF) Return (0xF)
} Else { } Else {
Return (0x0) Return (0x0)

View File

@ -28,7 +28,7 @@ Scope (\_SB.PCI0.I2C6)
Method (_STA) Method (_STA)
{ {
If (LEqual (\S6EN, 1)) { If (\S6EN == 1) {
Return (0xF) Return (0xF)
} Else { } Else {
Return (0x0) Return (0x0)

View File

@ -28,7 +28,7 @@ Scope (\_SB.PCI0.I2C1)
Method (_STA) Method (_STA)
{ {
If (LEqual (\S1EN, 1)) { If (\S1EN == 1) {
Return (0xF) Return (0xF)
} Else { } Else {
Return (0x0) Return (0x0)

View File

@ -28,7 +28,7 @@ Scope (\_SB.PCI0.I2C1)
Method (_STA) Method (_STA)
{ {
If (LEqual (\S1EN, 1)) { If (\S1EN == 1) {
Return (0xF) Return (0xF)
} Else { } Else {
Return (0x0) Return (0x0)