From 2f79a838dbeba269f0ab12db4fb88c8a948c2274 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 31 Dec 2021 12:00:02 +0100 Subject: [PATCH] mb/roda/rk9/acpi: Replace Multiply(a,b) with ASL 2.0 syntax Replace `Multiply (a, b)` with `a * b`. Change-Id: I8697f62cf5627ace8c4eac0caec7962171bb3541 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60567 Reviewed-by: HAOUAS Elyes Tested-by: build bot (Jenkins) --- src/mainboard/roda/rk9/acpi/thermal.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/roda/rk9/acpi/thermal.asl b/src/mainboard/roda/rk9/acpi/thermal.asl index 709c9128cd..9bf50d9cf6 100644 --- a/src/mainboard/roda/rk9/acpi/thermal.asl +++ b/src/mainboard/roda/rk9/acpi/thermal.asl @@ -6,7 +6,7 @@ Scope (\_TZ) { /* degree Celsius to deci-Kelvin (ACPI temperature unit) */ Method(C2dK, 1) { - Local0 = 2732 + Multiply (Arg0, 10) + Local0 = 2732 + Arg0 * 10 Return (Local0) }