summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-29 14:42:48 +0100
committerFelix Singer <felixsinger@posteo.net>2021-12-30 14:31:23 +0000
commitde32da3c555ecde16ba7a7ed18735b80a9121a00 (patch)
treef48e69fac4a728b1af98a8cedcc5ec2a363f48bf /src/mainboard/google
parentda20fa7abc62eeb605429dd876171c4b43a8ee43 (diff)
mb/google/cyan/acpi: Use ASL 2.0 syntax to access arrays
Replace Index(FOO, 1337) with FOO[1337]. Change-Id: Ica59483c9e9f67361d269259708998f9152406f3 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60461 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl
index d2a72088f3..2cfc2569e4 100644
--- a/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl
+++ b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl
@@ -173,7 +173,7 @@ Device (DPTF)
Method (_OSC, 4, Serialized)
{
/* Check for Passive Policy UUID */
- If (LEqual (DeRefOf (Index (IDSP, 0)), Arg0)) {
+ If (LEqual (DeRefOf (IDSP[0]), Arg0)) {
/* Initialize Thermal Devices */
^TINI ()