soc/intel/braswell/acpi: Replace Store(a,b) with ASL 2.0 syntax
Replace `Store (a, b)` with `b = a`.
Change-Id: I2dd154c3d4e152a14783ea82e08a7d1257abebc3
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70687
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
diff --git a/src/soc/intel/braswell/acpi/irqlinks.asl b/src/soc/intel/braswell/acpi/irqlinks.asl
index 508a721..42fc97e 100644
--- a/src/soc/intel/braswell/acpi/irqlinks.asl
+++ b/src/soc/intel/braswell/acpi/irqlinks.asl
@@ -8,7 +8,7 @@
/* Disable method */
Method (_DIS, 0, Serialized)
{
- Store (0x80, PRTA)
+ PRTA = 0x80
}
/* Possible Resource Settings for this Link */
@@ -28,7 +28,7 @@
CreateWordField(RTLA, 1, IRQ0)
/* Clear the WordField */
- Store (Zero, IRQ0)
+ IRQ0 = Zero
/* Set the bit from PRTA */
ShiftLeft(1, And(PRTA, 0x0f), IRQ0)
@@ -45,7 +45,7 @@
FindSetRightBit(IRQ0, Local0)
Local0--
- Store(Local0, PRTA)
+ PRTA = Local0
}
/* Status */
@@ -67,7 +67,7 @@
/* Disable method */
Method (_DIS, 0, Serialized)
{
- Store (0x80, PRTB)
+ PRTB = 0x80
}
/* Possible Resource Settings for this Link */
@@ -87,7 +87,7 @@
CreateWordField(RTLB, 1, IRQ0)
/* Clear the WordField */
- Store (Zero, IRQ0)
+ IRQ0 = Zero
/* Set the bit from PRTB */
ShiftLeft(1, And(PRTB, 0x0f), IRQ0)
@@ -104,7 +104,7 @@
FindSetRightBit(IRQ0, Local0)
Local0--
- Store(Local0, PRTB)
+ PRTB = Local0
}
/* Status */
@@ -126,7 +126,7 @@
/* Disable method */
Method (_DIS, 0, Serialized)
{
- Store (0x80, PRTC)
+ PRTC = 0x80
}
/* Possible Resource Settings for this Link */
@@ -146,7 +146,7 @@
CreateWordField(RTLC, 1, IRQ0)
/* Clear the WordField */
- Store (Zero, IRQ0)
+ IRQ0 = Zero
/* Set the bit from PRTC */
ShiftLeft(1, And(PRTC, 0x0f), IRQ0)
@@ -163,7 +163,7 @@
FindSetRightBit(IRQ0, Local0)
Local0--
- Store(Local0, PRTC)
+ PRTC = Local0
}
/* Status */
@@ -185,7 +185,7 @@
/* Disable method */
Method (_DIS, 0, Serialized)
{
- Store (0x80, PRTD)
+ PRTD = 0x80
}
/* Possible Resource Settings for this Link */
@@ -205,7 +205,7 @@
CreateWordField(RTLD, 1, IRQ0)
/* Clear the WordField */
- Store (Zero, IRQ0)
+ IRQ0 = Zero
/* Set the bit from PRTD */
ShiftLeft(1, And(PRTD, 0x0f), IRQ0)
@@ -222,7 +222,7 @@
FindSetRightBit(IRQ0, Local0)
Local0--
- Store(Local0, PRTD)
+ PRTD = Local0
}
/* Status */
@@ -244,7 +244,7 @@
/* Disable method */
Method (_DIS, 0, Serialized)
{
- Store (0x80, PRTE)
+ PRTE = 0x80
}
/* Possible Resource Settings for this Link */
@@ -264,7 +264,7 @@
CreateWordField(RTLE, 1, IRQ0)
/* Clear the WordField */
- Store (Zero, IRQ0)
+ IRQ0 = Zero
/* Set the bit from PRTE */
ShiftLeft(1, And(PRTE, 0x0f), IRQ0)
@@ -281,7 +281,7 @@
FindSetRightBit(IRQ0, Local0)
Local0--
- Store(Local0, PRTE)
+ PRTE = Local0
}
/* Status */
@@ -303,7 +303,7 @@
/* Disable method */
Method (_DIS, 0, Serialized)
{
- Store (0x80, PRTF)
+ PRTF = 0x80
}
/* Possible Resource Settings for this Link */
@@ -323,7 +323,7 @@
CreateWordField(RTLF, 1, IRQ0)
/* Clear the WordField */
- Store (Zero, IRQ0)
+ IRQ0 = Zero
/* Set the bit from PRTF */
ShiftLeft(1, And(PRTF, 0x0f), IRQ0)
@@ -340,7 +340,7 @@
FindSetRightBit(IRQ0, Local0)
Local0--
- Store(Local0, PRTF)
+ PRTF = Local0
}
/* Status */
@@ -362,7 +362,7 @@
/* Disable method */
Method (_DIS, 0, Serialized)
{
- Store (0x80, PRTG)
+ PRTG = 0x80
}
/* Possible Resource Settings for this Link */
@@ -382,7 +382,7 @@
CreateWordField(RTLG, 1, IRQ0)
/* Clear the WordField */
- Store (Zero, IRQ0)
+ IRQ0 = Zero
/* Set the bit from PRTG */
ShiftLeft(1, And(PRTG, 0x0f), IRQ0)
@@ -399,7 +399,7 @@
FindSetRightBit(IRQ0, Local0)
Local0--
- Store(Local0, PRTG)
+ PRTG = Local0
}
/* Status */
@@ -421,7 +421,7 @@
/* Disable method */
Method (_DIS, 0, Serialized)
{
- Store (0x80, PRTH)
+ PRTH = 0x80
}
/* Possible Resource Settings for this Link */
@@ -441,7 +441,7 @@
CreateWordField(RTLH, 1, IRQ0)
/* Clear the WordField */
- Store (Zero, IRQ0)
+ IRQ0 = Zero
/* Set the bit from PRTH */
ShiftLeft(1, And(PRTH, 0x0f), IRQ0)
@@ -458,7 +458,7 @@
FindSetRightBit(IRQ0, Local0)
Local0--
- Store(Local0, PRTH)
+ PRTH = Local0
}
/* Status */