summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-06 22:27:39 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-07-08 07:26:25 +0000
commit9d69d881e692c8f1851026b701b5095dd86678b8 (patch)
tree729667cab011f86f6623b3c2cd3cd9575d277344 /src
parent05f996d433ef91e699503e1ef679f6cafdf00d3b (diff)
nb/intel/haswell/acpi: Update to ASL 2.0 syntax
Tested with BUILD_TIMELESS=1, Asrock B85M Pro4 remains identical. Change-Id: Ibcc54c2332945fff28d6502edb7eefa06f764bdd Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43152 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/intel/haswell/acpi/hostbridge.asl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/intel/haswell/acpi/hostbridge.asl b/src/northbridge/intel/haswell/acpi/hostbridge.asl
index 0f2ed1625b..b8a1af8878 100644
--- a/src/northbridge/intel/haswell/acpi/hostbridge.asl
+++ b/src/northbridge/intel/haswell/acpi/hostbridge.asl
@@ -88,7 +88,7 @@ Device (MCHC)
Name (CTCU, 2) /* CTDP Up Select */
Name (SPL1, 0) /* Saved PL1 value */
- OperationRegion (MCHB, SystemMemory, Add(DEFAULT_MCHBAR,0x5000), 0x1000)
+ OperationRegion (MCHB, SystemMemory, DEFAULT_MCHBAR + 0x5000, 0x1000)
Field (MCHB, DWordAcc, Lock, Preserve)
{
Offset (0x930), /* PACKAGE_POWER_SKU */
@@ -140,7 +140,7 @@ Device (MCHC)
External (\_SB.CP00._PSS)
Method (PSSS, 1, NotSerialized)
{
- Local0 = One /* Start at P1 */
+ Local0 = 1 /* Start at P1 */
Local1 = SizeOf (\_SB.CP00._PSS)
While (Local0 < Local1) {
@@ -252,7 +252,7 @@ Device (MCHC)
Return (0)
}
- Store ("Enable PL1 Limit", Debug)
+ Debug = "Enable PL1 Limit"
/* Set _PPC to LFM */
Local0 = PSSS (LFM_)
@@ -280,7 +280,7 @@ Device (MCHC)
Return (0)
}
- Store ("Disable PL1 Limit", Debug)
+ Debug = "Disable PL1 Limit"
/* Clear PL1 CLAMP bit */
PL1C = 0