Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60653 )
Change subject: mb/google/slippy: Replace Multiply(a,b,c) with ASL 2.0 syntax ......................................................................
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 --- M src/mainboard/google/slippy/acpi/thermal.asl 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/60653/1
diff --git a/src/mainboard/google/slippy/acpi/thermal.asl b/src/mainboard/google/slippy/acpi/thermal.asl index 176b08d..e01195f 100644 --- a/src/mainboard/google/slippy/acpi/thermal.asl +++ b/src/mainboard/google/slippy/acpi/thermal.asl @@ -35,7 +35,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 @@ -90,7 +90,7 @@ Local0 += _SB.PCI0.LPCB.EC0.TOFS
// Convert to 1/10 Kelvin - Multiply (Local0, 10, Local0) + Local0 *= 10 Return (Local0) }