diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-01-01 23:43:11 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-06-09 09:19:45 +0000 |
commit | cc62b509355d22032933834566ee0a93d31493fe (patch) | |
tree | 43c6a1390c84819fdb4d8f1d423c2ddb8f927be6 | |
parent | cdba42c69cdebf0506bd615e9420cc3f9e7f557f (diff) |
mb/google/cyan: Replace Multiply(a,b,c) with ASL 2.0 syntax
Replace `Multiply (a, b, c)` with `c = a * b`.
Change-Id: Ib8719143a5a217173b34931e9c0ef02e9895d0a5
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60650
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
-rw-r--r-- | src/mainboard/google/cyan/variants/terra/include/variant/acpi/dptf.asl | 2 |
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 88523450e7..621e5d3091 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 @@ -203,7 +203,7 @@ Device (DPTF) /* 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 |