summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/broadwell/acpi/serialio.asl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/intel/broadwell/acpi/serialio.asl b/src/soc/intel/broadwell/acpi/serialio.asl
index a6c94d243f..1b44e9566a 100644
--- a/src/soc/intel/broadwell/acpi/serialio.asl
+++ b/src/soc/intel/broadwell/acpi/serialio.asl
@@ -36,6 +36,9 @@ Method (LPD0, 2, Serialized)
And (SPCS, 0xFFFFFFFC, SPCS)
Store (SPCS, Local0) // Read back after writing
+
+ // Use Local0 to avoid iasl warning: Method Local is set but never used
+ And(Local0, Ones, Local0)
}
// Put SerialIO device in D3 state
@@ -56,6 +59,9 @@ Method (LPD3, 2, Serialized)
Or (SPCS, 0x3, SPCS)
Store (SPCS, Local0) // Read back after writing
+
+ // Use Local0 to avoid iasl warning: Method Local is set but never used
+ And(Local0, Ones, Local0)
}
// Serial IO Resource Consumption for BAR1