From 2369818c3d7dfa596210983e6583a9dfceb0e770 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sun, 25 Dec 2022 06:43:13 +0100 Subject: [PATCH] nb/intel/sandybridge/acpi: Replace Index(a, b) with ASL 2.0 syntax Change-Id: I75bc048d9e04be8d0cab25f6aad1c71d3e7a4008 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/71506 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- src/northbridge/intel/sandybridge/acpi/hostbridge.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/northbridge/intel/sandybridge/acpi/hostbridge.asl b/src/northbridge/intel/sandybridge/acpi/hostbridge.asl index fa472b1aa5..863daf7748 100644 --- a/src/northbridge/intel/sandybridge/acpi/hostbridge.asl +++ b/src/northbridge/intel/sandybridge/acpi/hostbridge.asl @@ -135,7 +135,7 @@ Device (MCHC) 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) }