Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60648 )
Change subject: ec/kontron/it8516e/acpi: Replace Multiply(a,b,c) with ASL 2.0 syntax ......................................................................
ec/kontron/it8516e/acpi: Replace Multiply(a,b,c) with ASL 2.0 syntax
Replace `Multiply (a, b, c)` with `c = a * b`.
Change-Id: I81e976de964f6ae3528884debaf2b24ddf8ed28a Signed-off-by: Felix Singer felixsinger@posteo.net --- M src/ec/kontron/it8516e/acpi/pm_channels.asl 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/60648/1
diff --git a/src/ec/kontron/it8516e/acpi/pm_channels.asl b/src/ec/kontron/it8516e/acpi/pm_channels.asl index 0ac0467..5df72c0 100644 --- a/src/ec/kontron/it8516e/acpi/pm_channels.asl +++ b/src/ec/kontron/it8516e/acpi/pm_channels.asl @@ -35,7 +35,7 @@ If (And (Local0, EC_ERROR_MASK)) { Return (0) } - Multiply (Local0, 10, Local0) /* Convert to 10th °C */ + Local0 *= 10 Return (Local0 + 2732) /* Return as 10th Kelvin */ } }