aboutsummaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-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 d3b3902961..37ae3cad2e 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 (LPFW != Zero, LPEN == One))
+ If (LPFW != Zero && LPEN == One)
{
LMIN = LPFW
LLEN = 0x00100000
diff --git a/src/soc/intel/braswell/acpi/southcluster.asl b/src/soc/intel/braswell/acpi/southcluster.asl
index c8fcf0d33f..96145704c9 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 (LPFW != Zero, LPEN == One))
+ If (LPFW != Zero && LPEN == One)
{
LMIN = LPFW
LMAX = LMIN + 0x001FFFFF
diff --git a/src/soc/intel/icelake/acpi/pch_hda.asl b/src/soc/intel/icelake/acpi/pch_hda.asl
index 1073f37ae8..b3b5270186 100644
--- a/src/soc/intel/icelake/acpi/pch_hda.asl
+++ b/src/soc/intel/icelake/acpi/pch_hda.asl
@@ -36,8 +36,7 @@ Device (HDAS)
* NHLT Query only supported for revision 1 and
* if NHLT address and length are set in NVS.
*/
- If (LAnd (Arg1 == One,
- LAnd (NHLA != Zero, NHLL != Zero))) {
+ If (Arg1 == One && NHLA != Zero && NHLL != Zero) {
Return (Buffer (One) { 0x03 })
} Else {
Return (Buffer (One) { 0x01 })