aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/common/acpi/pcr.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/acpi/pcr.asl')
-rw-r--r--src/soc/intel/common/acpi/pcr.asl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/soc/intel/common/acpi/pcr.asl b/src/soc/intel/common/acpi/pcr.asl
index 71d679ab73..81e496185a 100644
--- a/src/soc/intel/common/acpi/pcr.asl
+++ b/src/soc/intel/common/acpi/pcr.asl
@@ -19,7 +19,7 @@ Method (PCRB, 1, NotSerialized)
*/
Method (PCRR, 2, Serialized)
{
- OperationRegion (PCRD, SystemMemory, Add (PCRB (Arg0), Arg1), 4)
+ OperationRegion (PCRD, SystemMemory, PCRB (Arg0) + Arg1, 4)
Field (PCRD, DWordAcc, NoLock, Preserve)
{
DATA, 32
@@ -35,12 +35,12 @@ Method (PCRR, 2, Serialized)
*/
Method (PCRA, 3, Serialized)
{
- OperationRegion (PCRD, SystemMemory, Add (PCRB (Arg0), Arg1), 4)
+ OperationRegion (PCRD, SystemMemory, PCRB (Arg0) + Arg1, 4)
Field (PCRD, DWordAcc, NoLock, Preserve)
{
DATA, 32
}
- And (DATA, Arg2, DATA)
+ DATA &= Arg2
/*
* After every write one needs to read an innocuous register
@@ -59,12 +59,12 @@ Method (PCRA, 3, Serialized)
*/
Method (PCRO, 3, Serialized)
{
- OperationRegion (PCRD, SystemMemory, Add (PCRB (Arg0), Arg1), 4)
+ OperationRegion (PCRD, SystemMemory, PCRB (Arg0) + Arg1, 4)
Field (PCRD, DWordAcc, NoLock, Preserve)
{
DATA, 32
}
- Or (DATA, Arg2, DATA)
+ DATA |= Arg2
/*
* After every write one needs to read an innocuous register