soc/intel/baytrail/acpi: Replace Store(a,b) with ASL 2.0 syntax
Replace `Store (a, b)` with `b = a`.
Change-Id: Ic171f3343bb35e43be5fdb50c5c926eede6a1d93
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70684
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
diff --git a/src/soc/intel/baytrail/acpi/southcluster.asl b/src/soc/intel/baytrail/acpi/southcluster.asl
index 61700bc..d3b3902 100644
--- a/src/soc/intel/baytrail/acpi/southcluster.asl
+++ b/src/soc/intel/baytrail/acpi/southcluster.asl
@@ -157,15 +157,15 @@
CreateDWordField (MCRS, ^LMEM._LEN, LLEN)
If (LAnd (LPFW != Zero, LPEN == One))
{
- Store (LPFW, LMIN)
- Store (0x00100000, LLEN)
+ LMIN = LPFW
+ LLEN = 0x00100000
LMAX = LMIN + LLEN - One
}
Else
{
- Store (Zero, LMIN)
- Store (Zero, LMAX)
- Store (Zero, LLEN)
+ LMIN = Zero
+ LMAX = Zero
+ LLEN = Zero
}
/* Update PCI resource area */
@@ -174,8 +174,8 @@
CreateDWordField (MCRS, ^PMEM._LEN, PLEN)
/* TOLM is BMBOUND accessible from IOSF so is saved in NVS */
- Store (\TOLM, PMIN)
- Store (CONFIG_ECAM_MMCONF_BASE_ADDRESS - 1, PMAX)
+ PMIN = \TOLM
+ PMAX = CONFIG_ECAM_MMCONF_BASE_ADDRESS - 1
PLEN = PMAX - PMIN + 1
Return (MCRS)
@@ -238,7 +238,7 @@
Method (_CRS)
{
CreateDwordField (^RBUF, ^RBAR._BAS, RBAS)
- Store (CONFIG_ECAM_MMCONF_BASE_ADDRESS + 0xD0, RBAS)
+ RBAS = CONFIG_ECAM_MMCONF_BASE_ADDRESS + 0xD0
Return (^RBUF)
}
}