diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-01-01 23:51:15 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-06-09 09:20:28 +0000 |
commit | 26caf387ff9ee96d271c4c25b5b2c699f486d9a7 (patch) | |
tree | 92059ed343adfc5111b2de99362ac45bd9db8869 /src/mainboard/google/slippy | |
parent | 54d0c99523677d84336a5a0cd625d5df0a56d987 (diff) |
mb/google/slippy: Replace Multiply(a,b,c) with ASL 2.0 syntax
Replace `Multiply (a, b, c)` with `c = a * b`.
Change-Id: I63b8b8a086e2c5ede765855b3c803206edf87690
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60653
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'src/mainboard/google/slippy')
-rw-r--r-- | src/mainboard/google/slippy/acpi/thermal.asl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/slippy/acpi/thermal.asl b/src/mainboard/google/slippy/acpi/thermal.asl index 3f9b5742ce..bb90ae2ba1 100644 --- a/src/mainboard/google/slippy/acpi/thermal.asl +++ b/src/mainboard/google/slippy/acpi/thermal.asl @@ -35,7 +35,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 @@ -90,7 +90,7 @@ Scope (\_TZ) Local0 += \_SB.PCI0.LPCB.EC0.TOFS // Convert to 1/10 Kelvin - Multiply (Local0, 10, Local0) + Local0 *= 10 Return (Local0) } |