From da20fa7abc62eeb605429dd876171c4b43a8ee43 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Wed, 29 Dec 2021 14:30:53 +0100 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60460 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes --- src/soc/intel/skylake/acpi/xhci.asl | 4 ++-- 1 file 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) -- 2.11.4.GIT