summaryrefslogtreecommitdiff
path: root/src/southbridge/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel')
-rw-r--r--src/southbridge/intel/lynxpoint/acpi/serialio.asl20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/southbridge/intel/lynxpoint/acpi/serialio.asl b/src/southbridge/intel/lynxpoint/acpi/serialio.asl
index 13732f645c..930a8eea27 100644
--- a/src/southbridge/intel/lynxpoint/acpi/serialio.asl
+++ b/src/southbridge/intel/lynxpoint/acpi/serialio.asl
@@ -219,14 +219,20 @@ Device (I2C0)
Method (_PS0, 0, Serialized)
{
And (^PSAT, 0xfffffffc, ^PSAT)
- Store (^PSAT, Local0)
+ Store (^PSAT, Local0) // Read back after writing
+
+ // Use Local0 to avoid iasl warning: Method Local is set but never used
+ And(Local0, Ones, Local0)
}
// Put controller in D3Hot state
Method (_PS3, 0, Serialized)
{
Or (^PSAT, 0x00000003, ^PSAT)
- Store (^PSAT, Local0)
+ Store (^PSAT, Local0) // Read back after writing
+
+ // Use Local0 to avoid iasl warning: Method Local is set but never used
+ And(Local0, Ones, Local0)
}
}
@@ -292,14 +298,20 @@ Device (I2C1)
Method (_PS0, 0, Serialized)
{
And (^PSAT, 0xfffffffc, ^PSAT)
- Store (^PSAT, Local0)
+ Store (^PSAT, Local0) // Read back after writing
+
+ // Use Local0 to avoid iasl warning: Method Local is set but never used
+ And(Local0, Ones, Local0)
}
// Put controller in D3Hot state
Method (_PS3, 0, Serialized)
{
Or (^PSAT, 0x00000003, ^PSAT)
- Store (^PSAT, Local0)
+ Store (^PSAT, Local0) // Read back after writing
+
+ // Use Local0 to avoid iasl warning: Method Local is set but never used
+ And(Local0, Ones, Local0)
}
}