soc/intel/skylake/acpi: Use ASL 2.0 syntax to access arrays
Replace Index(FOO, 1337) with FOO[1337]. Change-Id: I3bc780a60e34fb72020d8dbba3db0ed096fa930d Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60460 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
8da3711edd
commit
da20fa7abc
|
@ -223,11 +223,11 @@ Device (XHCI)
|
|||
})
|
||||
|
||||
// REV: Revision 0x02 for ACPI 5.0
|
||||
CreateField (DerefOf (Index (PCKG, Zero)), Zero, 0x07, REV)
|
||||
CreateField (DerefOf (PCKG[0]), Zero, 0x07, REV)
|
||||
REV = 0x02
|
||||
|
||||
// VISI: Port visibility to user per port
|
||||
CreateField (DerefOf (Index (PCKG, Zero)), 0x40, One, VISI)
|
||||
CreateField (DerefOf (PCKG[0]), 0x40, One, VISI)
|
||||
VISI = Arg0
|
||||
|
||||
Return (PCKG)
|
||||
|
|
Loading…
Reference in New Issue