summaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake/acpi
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-29 14:30:53 +0100
committerFelix Singer <felixsinger@posteo.net>2021-12-30 14:30:53 +0000
commitda20fa7abc62eeb605429dd876171c4b43a8ee43 (patch)
treed51509d74aa5b18da62bc6a22b928517bc442200 /src/soc/intel/skylake/acpi
parent8da3711edd7e688a3db2560f71a68ef19e82e1a3 (diff)
downloadcoreboot-da20fa7abc62eeb605429dd876171c4b43a8ee43.tar.gz
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>
Diffstat (limited to 'src/soc/intel/skylake/acpi')
-rw-r--r--src/soc/intel/skylake/acpi/xhci.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/skylake/acpi/xhci.asl b/src/soc/intel/skylake/acpi/xhci.asl
index 734539b762..196af97728 100644
--- a/src/soc/intel/skylake/acpi/xhci.asl
+++ b/src/soc/intel/skylake/acpi/xhci.asl
@@ -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)