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:
parent
f451bfb1a5
commit
9ede493c73
|
@ -66,7 +66,7 @@ Scope (\_SB.PCI0.MCHC)
|
||||||
|
|
||||||
While (Local0 < Local1) {
|
While (Local0 < Local1) {
|
||||||
/* Store _PSS entry Control value to Local2 */
|
/* 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) {
|
If (Local2 == Arg0) {
|
||||||
Return (Local0 - 1)
|
Return (Local0 - 1)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue