summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/baytrail/acpi/southcluster.asl2
-rw-r--r--src/soc/intel/braswell/acpi/southcluster.asl2
-rw-r--r--src/soc/intel/icelake/acpi/pch_hda.asl3
3 files changed, 3 insertions, 4 deletions
diff --git a/src/soc/intel/baytrail/acpi/southcluster.asl b/src/soc/intel/baytrail/acpi/southcluster.asl
index 7da4db0f0c..94548a35db 100644
--- a/src/soc/intel/baytrail/acpi/southcluster.asl
+++ b/src/soc/intel/baytrail/acpi/southcluster.asl
@@ -155,7 +155,7 @@ Method (_CRS, 0, Serialized)
CreateDWordField (MCRS, ^LMEM._MIN, LMIN)
CreateDWordField (MCRS, ^LMEM._MAX, LMAX)
CreateDWordField (MCRS, ^LMEM._LEN, LLEN)
- If (LAnd (LNotEqual (LPFW, Zero), LPEN == One))
+ If (LAnd (LPFW != Zero, LPEN == One))
{
Store (LPFW, LMIN)
Store (0x00100000, LLEN)
diff --git a/src/soc/intel/braswell/acpi/southcluster.asl b/src/soc/intel/braswell/acpi/southcluster.asl
index 546c699522..0e17686f8f 100644
--- a/src/soc/intel/braswell/acpi/southcluster.asl
+++ b/src/soc/intel/braswell/acpi/southcluster.asl
@@ -154,7 +154,7 @@ Method (_CRS, 0, Serialized)
CreateDWordField (MCRS, LMEM._MIN, LMIN)
CreateDWordField (MCRS, LMEM._MAX, LMAX)
CreateDWordField (MCRS, LMEM._LEN, LLEN)
- If (LAnd (LNotEqual (LPFW, Zero), LPEN == One))
+ If (LAnd (LPFW != Zero, LPEN == One))
{
Store (LPFW, LMIN)
Store (Add (LMIN, 0x001FFFFF), LMAX)
diff --git a/src/soc/intel/icelake/acpi/pch_hda.asl b/src/soc/intel/icelake/acpi/pch_hda.asl
index d0f966a0dc..b5b5416f1c 100644
--- a/src/soc/intel/icelake/acpi/pch_hda.asl
+++ b/src/soc/intel/icelake/acpi/pch_hda.asl
@@ -37,8 +37,7 @@ Device (HDAS)
* if NHLT address and length are set in NVS.
*/
If (LAnd (Arg1 == One,
- LAnd (LNotEqual (NHLA, Zero),
- LNotEqual (NHLL, Zero)))) {
+ LAnd (NHLA != Zero, NHLL != Zero))) {
Return (Buffer (One) { 0x03 })
} Else {
Return (Buffer (One) { 0x01 })