summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/acpi/scc.asl
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-11 21:15:05 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-12 22:01:02 +0000
commit26c76725918e791f02fda41eda72d9b8426b2f5f (patch)
tree1e61513e3aadd2ecd3198340b59f1441f1a00e44 /src/soc/intel/baytrail/acpi/scc.asl
parent31c099a7b835be76c9967d6cddb9b0d979c03101 (diff)
soc/intel/baytrail/acpi: Replace LEqual(a,b) with ASL 2.0 syntax
Replace `LEqual (a, b)` with `a == b`. Change-Id: I9d50ddcb4427774681aedba945079f5d04401f07 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70589 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/baytrail/acpi/scc.asl')
-rw-r--r--src/soc/intel/baytrail/acpi/scc.asl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/baytrail/acpi/scc.asl b/src/soc/intel/baytrail/acpi/scc.asl
index cf0debdac2..3113e2f76d 100644
--- a/src/soc/intel/baytrail/acpi/scc.asl
+++ b/src/soc/intel/baytrail/acpi/scc.asl
@@ -25,7 +25,7 @@ Device (EMMC)
Method (_STA)
{
- If (LEqual (\C0EN, 1)) {
+ If (\C0EN == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -88,7 +88,7 @@ Device (SDIO)
Method (_STA)
{
- If (LEqual (\C1EN, 1)) {
+ If (\C1EN == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -140,7 +140,7 @@ Device (SDCD)
Method (_STA)
{
- If (LEqual (\C2EN, 1)) {
+ If (\C2EN == 1) {
Return (0xF)
} Else {
Return (0x0)