summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 11:52:19 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 14:00:12 +0000
commit3d3d498e8f601a172465e30a32dd358d12820ab2 (patch)
tree682de14e0c406937fc7e2eeff03817602d89f983
parent24eb605280b737ee63c72ede451bd5a7d0dce5e2 (diff)
soc/intel/cannonlake/acpi: Replace Multiply(a,b) with ASL 2.0 syntax
Replace `Multiply (a, b)` with `a * b`. Change-Id: I6dc9f57773754e89df4b4ffd088a4693af0452e3 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60565 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
-rw-r--r--src/soc/intel/cannonlake/acpi/gpio.asl2
-rw-r--r--src/soc/intel/cannonlake/acpi/gpio_cnp_h.asl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/cannonlake/acpi/gpio.asl b/src/soc/intel/cannonlake/acpi/gpio.asl
index 3249954bd0..265bcfb953 100644
--- a/src/soc/intel/cannonlake/acpi/gpio.asl
+++ b/src/soc/intel/cannonlake/acpi/gpio.asl
@@ -92,7 +92,7 @@ Method (GADD, 1, NotSerialized)
}
Store (PCRB (Local0), Local2)
Local2 += PAD_CFG_BASE
- Return (Local2 + Multiply (Local1, 16))
+ Return (Local2 + Local1 * 16)
}
/*
diff --git a/src/soc/intel/cannonlake/acpi/gpio_cnp_h.asl b/src/soc/intel/cannonlake/acpi/gpio_cnp_h.asl
index 9122e65fc4..f60fd5618a 100644
--- a/src/soc/intel/cannonlake/acpi/gpio_cnp_h.asl
+++ b/src/soc/intel/cannonlake/acpi/gpio_cnp_h.asl
@@ -92,5 +92,5 @@ Method (GADD, 1, NotSerialized)
}
Store (PCRB (Local0), Local2)
Local2 += PAD_CFG_BASE
- Return (Local2 + Multiply (Local1, 16))
+ Return (Local2 + Local1 * 16)
}