soc/intel/braswell/acpi: Replace LEqual(a,b) with ASL 2.0 syntax
Replace `LEqual (a, b)` with `a == b`.
Change-Id: I7b74d026d0800df647fb0c981fa7865be492d3ac
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70590
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/soc/intel/braswell/acpi/scc.asl b/src/soc/intel/braswell/acpi/scc.asl
index 1260d0c..44a0cbb 100644
--- a/src/soc/intel/braswell/acpi/scc.asl
+++ b/src/soc/intel/braswell/acpi/scc.asl
@@ -25,7 +25,7 @@
Method (_STA)
{
- If (LEqual (\C0EN, 1)) {
+ If (\C0EN == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -78,7 +78,7 @@
Method (_STA, 0, NotSerialized)
{
- If (LEqual (\C0EN, 1)) {
+ If (\C0EN == 1) {
Return (0x0)
}
Else
@@ -126,7 +126,7 @@
Method (_STA)
{
- If (LEqual (\C1EN, 1)) {
+ If (\C1EN == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -178,7 +178,7 @@
Method (_STA)
{
- If (LEqual (\C2EN, 1)) {
+ If (\C2EN == 1) {
Return (0xF)
} Else {
Return (0x0)