nb/intel/haswell/acpi: Replace Index(a, b) with ASL 2.0 syntax

Change-Id: I1ff0132e17b08f492828eb13d66e167eae45250d
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71505
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Elyes Haouas 2022-12-25 06:40:52 +01:00 committed by Felix Singer
parent f451bfb1a5
commit 9ede493c73
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}