From 9ede493c73aff7eb6f78ff18b341fb9a3c75b83d Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sun, 25 Dec 2022 06:40:52 +0100 Subject: nb/intel/haswell/acpi: Replace Index(a, b) with ASL 2.0 syntax Change-Id: I1ff0132e17b08f492828eb13d66e167eae45250d Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/71505 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- src/northbridge/intel/haswell/acpi/ctdp.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/northbridge/intel/haswell/acpi/ctdp.asl b/src/northbridge/intel/haswell/acpi/ctdp.asl index bc43a81e87..89669b3661 100644 --- a/src/northbridge/intel/haswell/acpi/ctdp.asl +++ b/src/northbridge/intel/haswell/acpi/ctdp.asl @@ -66,7 +66,7 @@ Scope (\_SB.PCI0.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) } -- cgit v1.2.3