Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60570 )
Change subject: ec/kontron/it8516e/acpi: Replace Divide(a,b) with ASL 2.0 syntax ......................................................................
ec/kontron/it8516e/acpi: Replace Divide(a,b) with ASL 2.0 syntax
Replace `Divide (a, b)` with `a / b`.
Change-Id: Ic705dce7303b6bcd1c679a1ae7c81e0809fefa5b 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/70/60570/1
diff --git a/src/ec/kontron/it8516e/acpi/pm_channels.asl b/src/ec/kontron/it8516e/acpi/pm_channels.asl index b130026..0ac0467 100644 --- a/src/ec/kontron/it8516e/acpi/pm_channels.asl +++ b/src/ec/kontron/it8516e/acpi/pm_channels.asl @@ -91,7 +91,7 @@ Release (EC_MUTEX)
Or (ShiftLeft (Local1, 8), Local0, Local0) - Store (Divide (Local0 * 10, 64), Local0) /* Convert to 10th °C */ + Store (Local0 * 10 / 64, Local0) /* Convert to 10th °C */ Return (Local0 + 2732) /* Return as 10th Kelvin */ } }