Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60649 )
Change subject: ec/quanta/it8518/acpi: Replace Multiply(a,b,c) with ASL 2.0 syntax ......................................................................
ec/quanta/it8518/acpi: Replace Multiply(a,b,c) with ASL 2.0 syntax
Replace `Multiply (a, b, c)` with `c = a * b`.
Change-Id: Ied407753ee3bb024c8c0350c45312c337ac799e5 Signed-off-by: Felix Singer felixsinger@posteo.net --- M src/ec/quanta/it8518/acpi/battery.asl 1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/60649/1
diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl index 4fcc30c..316a342 100644 --- a/src/ec/quanta/it8518/acpi/battery.asl +++ b/src/ec/quanta/it8518/acpi/battery.asl @@ -119,7 +119,7 @@ // If (Local7) { - Multiply (SBFC, 10, PBIF[2]) + PBIF[2] = SBFC * 10 } Else { @@ -137,7 +137,7 @@ // If (Local7) { - Multiply (SBDC, 10, Local0) + Local0 = SBDC * 10 } Else { @@ -286,7 +286,7 @@
If (Local6) { - Multiply (ECVO, Local1, Local1) + Local1 *= ECVO Divide (Local1, 1000, , Local1) } Store (Local1, PBST[1]) @@ -299,7 +299,7 @@ // ACPI spec : 0 - mWh : 1 - mAh If (Local6) { - Multiply (ECRC, 10, Local1) + Local1 = ECRC * 10 } Else {