commit | 2369818c3d7dfa596210983e6583a9dfceb0e770 | [log] [tgz] |
---|---|---|
author | Elyes Haouas <ehaouas@noos.fr> | Sun Dec 25 06:43:13 2022 +0100 |
committer | Felix Singer <felixsinger@posteo.net> | Mon Dec 26 08:52:19 2022 +0000 |
tree | 902cb97086343a451940de0f0ff7a82f1279226c | |
parent | 9ede493c73aff7eb6f78ff18b341fb9a3c75b83d [diff] [blame] |
nb/intel/sandybridge/acpi: Replace Index(a, b) with ASL 2.0 syntax Change-Id: I75bc048d9e04be8d0cab25f6aad1c71d3e7a4008 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71506 Reviewed-by: Felix Singer <felixsinger@posteo.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/northbridge/intel/sandybridge/acpi/hostbridge.asl b/src/northbridge/intel/sandybridge/acpi/hostbridge.asl index fa472b1..863daf7 100644 --- a/src/northbridge/intel/sandybridge/acpi/hostbridge.asl +++ b/src/northbridge/intel/sandybridge/acpi/hostbridge.asl
@@ -135,7 +135,7 @@ While (Local0 < Local1) { /* Store _PSS entry Control value to Local2 */ - Local2 = DeRefOf (Index (DeRefOf (Index (\_SB.CP00._PSS, Local0)), 4)) >> 8 + Local2 = DeRefOf (DeRefOf (\_SB.CP00._PSS[Local0])[4]) >> 8 If (Local2 == Arg0) { Return (Local0 - 1) }