summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/baytrail/acpi')
-rw-r--r--src/soc/intel/baytrail/acpi/lpe.asl6
-rw-r--r--src/soc/intel/baytrail/acpi/lpss.asl60
-rw-r--r--src/soc/intel/baytrail/acpi/scc.asl18
-rw-r--r--src/soc/intel/baytrail/acpi/southcluster.asl2
4 files changed, 43 insertions, 43 deletions
diff --git a/src/soc/intel/baytrail/acpi/lpe.asl b/src/soc/intel/baytrail/acpi/lpe.asl
index 171134eb08..a997a6e2a0 100644
--- a/src/soc/intel/baytrail/acpi/lpe.asl
+++ b/src/soc/intel/baytrail/acpi/lpe.asl
@@ -87,14 +87,14 @@ Device (LPEA)
Method (_OFF)
{
- Or (PSAT, 0x00000003, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 3
+ PSAT |= 0
}
Method (_ON)
{
And (PSAT, 0xfffffffc, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 0
}
}
}
diff --git a/src/soc/intel/baytrail/acpi/lpss.asl b/src/soc/intel/baytrail/acpi/lpss.asl
index 997dc273a5..8882e0efa8 100644
--- a/src/soc/intel/baytrail/acpi/lpss.asl
+++ b/src/soc/intel/baytrail/acpi/lpss.asl
@@ -112,14 +112,14 @@ Device (I2C1)
Method (_PS3)
{
- Or (PSAT, 0x00000003, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 3
+ PSAT |= 0
}
Method (_PS0)
{
And (PSAT, 0xfffffffc, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 0
}
}
@@ -171,14 +171,14 @@ Device (I2C2)
Method (_PS3)
{
- Or (PSAT, 0x00000003, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 3
+ PSAT |= 0
}
Method (_PS0)
{
And (PSAT, 0xfffffffc, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 0
}
}
@@ -230,14 +230,14 @@ Device (I2C3)
Method (_PS3)
{
- Or (PSAT, 0x00000003, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 3
+ PSAT |= 0
}
Method (_PS0)
{
And (PSAT, 0xfffffffc, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 0
}
}
@@ -289,14 +289,14 @@ Device (I2C4)
Method (_PS3)
{
- Or (PSAT, 0x00000003, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 3
+ PSAT |= 0
}
Method (_PS0)
{
And (PSAT, 0xfffffffc, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 0
}
}
@@ -348,14 +348,14 @@ Device (I2C5)
Method (_PS3)
{
- Or (PSAT, 0x00000003, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 3
+ PSAT |= 0
}
Method (_PS0)
{
And (PSAT, 0xfffffffc, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 0
}
}
@@ -407,14 +407,14 @@ Device (I2C6)
Method (_PS3)
{
- Or (PSAT, 0x00000003, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 3
+ PSAT |= 0
}
Method (_PS0)
{
And (PSAT, 0xfffffffc, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 0
}
}
@@ -466,14 +466,14 @@ Device (I2C7)
Method (_PS3)
{
- Or (PSAT, 0x00000003, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 3
+ PSAT |= 0
}
Method (_PS0)
{
And (PSAT, 0xfffffffc, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 0
}
}
@@ -519,14 +519,14 @@ Device (SPI1)
Method (_PS3)
{
- Or (PSAT, 0x00000003, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 3
+ PSAT |= 0
}
Method (_PS0)
{
And (PSAT, 0xfffffffc, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 0
}
}
@@ -628,14 +628,14 @@ Device (UAR1)
Method (_PS3)
{
- Or (PSAT, 0x00000003, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 3
+ PSAT |= 0
}
Method (_PS0)
{
And (PSAT, 0xfffffffc, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 0
}
}
@@ -681,13 +681,13 @@ Device (UAR2)
Method (_PS3)
{
- Or (PSAT, 0x00000003, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 3
+ PSAT |= 0
}
Method (_PS0)
{
And (PSAT, 0xfffffffc, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 0
}
}
diff --git a/src/soc/intel/baytrail/acpi/scc.asl b/src/soc/intel/baytrail/acpi/scc.asl
index c5da6fe369..0dcac61021 100644
--- a/src/soc/intel/baytrail/acpi/scc.asl
+++ b/src/soc/intel/baytrail/acpi/scc.asl
@@ -41,14 +41,14 @@ Device (EMMC)
Method (_PS3)
{
- Or (PSAT, 0x00000003, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 3
+ PSAT |= 0
}
Method (_PS0)
{
And (PSAT, 0xfffffffc, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 0
}
Device (EM45)
@@ -104,14 +104,14 @@ Device (SDIO)
Method (_PS3)
{
- Or (PSAT, 0x00000003, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 3
+ PSAT |= 0
}
Method (_PS0)
{
And (PSAT, 0xfffffffc, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 0
}
}
@@ -156,13 +156,13 @@ Device (SDCD)
Method (_PS3)
{
- Or (PSAT, 0x00000003, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 3
+ PSAT |= 0
}
Method (_PS0)
{
And (PSAT, 0xfffffffc, PSAT)
- Or (PSAT, 0x00000000, PSAT)
+ PSAT |= 0
}
}
diff --git a/src/soc/intel/baytrail/acpi/southcluster.asl b/src/soc/intel/baytrail/acpi/southcluster.asl
index 37ae3cad2e..03f884ab46 100644
--- a/src/soc/intel/baytrail/acpi/southcluster.asl
+++ b/src/soc/intel/baytrail/acpi/southcluster.asl
@@ -217,7 +217,7 @@ Method (_OSC, 4)
{
/* Unrecognized UUID */
CreateDWordField (Arg3, 0, CDW1)
- Or (CDW1, 4, CDW1)
+ CDW1 |= 4
Return (Arg3)
}
}