mb/google/jecht: Replace Multiply(a,b,c) with ASL 2.0 syntax

Replace `Multiply (a, b, c)` with `c = a * b`.

Change-Id: Idc24216209bbfe73ef4197d4b8101f0d7e5891f7
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60652
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
Felix Singer 2022-01-01 23:49:26 +01:00
parent 9f5f793e67
commit fc12747ac3
4 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,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

View File

@ -24,7 +24,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

View File

@ -24,7 +24,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

View File

@ -39,7 +39,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