From 54d0c99523677d84336a5a0cd625d5df0a56d987 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sat, 1 Jan 2022 23:44:23 +0100 Subject: mb/google/kahlee: Replace Multiply(a,b,c) with ASL 2.0 syntax Replace `Multiply (a, b, c)` with `c = a * b`. Change-Id: I19835510b89cd243277f0c9701209c81bdf6ea29 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60651 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes --- .../google/kahlee/variants/baseboard/include/baseboard/acpi/thermal.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/thermal.asl b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/thermal.asl index e89e55dbca..a30a2cc342 100644 --- a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/thermal.asl +++ b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/acpi/thermal.asl @@ -23,7 +23,7 @@ Scope (\_TZ) /* Convert from Degrees C to 1/10 Kelvin for ACPI */ Method (CTOK, 1) { /* 10th of Degrees C */ - Multiply (Arg0, 10, Local0) + Local0 = Arg0 * 10 /* Convert to Kelvin */ Local0 += 2732 -- cgit v1.2.3