commit | 54d0c99523677d84336a5a0cd625d5df0a56d987 | [log] [tgz] |
---|---|---|
author | Felix Singer <felixsinger@posteo.net> | Sat Jan 01 23:44:23 2022 +0100 |
committer | Felix Singer <felixsinger@posteo.net> | Thu Jun 09 09:20:00 2022 +0000 |
tree | 71aab278197923e2cfe2d68c12a11b9315a44923 | |
parent | cc62b509355d22032933834566ee0a93d31493fe [diff] |
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 <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60651 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
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 e89e55d..a30a2cc 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 @@ /* 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