Vladimir Serbinenko (phcoder@gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13619
-gerrit
commit 566d056a1c7556df199df9cd6c00c2d00a56bb6b Author: Vladimir Serbinenko phcoder@gmail.com Date: Sun Feb 7 23:59:34 2016 +0100
ASL: Remove unused modulo recipient.
Change-Id: I4b0a3073815ec8d98c2d23cd745f027517b6fa42 Signed-off-by: Vladimir Serbinenko phcoder@gmail.com --- src/ec/compal/ene932/acpi/battery.asl | 4 ++-- src/ec/quanta/ene_kb3940q/acpi/battery.asl | 2 +- src/ec/quanta/it8518/acpi/battery.asl | 6 +++--- src/mainboard/getac/p470/acpi/battery.asl | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/ec/compal/ene932/acpi/battery.asl b/src/ec/compal/ene932/acpi/battery.asl index e7dd4e1..12092c7 100644 --- a/src/ec/compal/ene932/acpi/battery.asl +++ b/src/ec/compal/ene932/acpi/battery.asl @@ -77,10 +77,10 @@ Device (BATX) Store (BDC0, Index (PBIF, 1)) Store (BFC0, Index (PBIF, 2)) Store (BDV0, Index (PBIF, 4)) - Divide(BFC0, 0x64, Local0, Local1) + Divide(BFC0, 0x64, , Local1) Multiply(Local1, 0x0A, Local1) Store(Local1, Index(PBIF, 5)) - Divide(BFC0, 0x64, Local0, Local1) + Divide(BFC0, 0x64, , Local1) Multiply(Local1, 0x03, Local1) Store (Local1, Index (PBIF, 6))
diff --git a/src/ec/quanta/ene_kb3940q/acpi/battery.asl b/src/ec/quanta/ene_kb3940q/acpi/battery.asl index 7c88c0c..4467797 100644 --- a/src/ec/quanta/ene_kb3940q/acpi/battery.asl +++ b/src/ec/quanta/ene_kb3940q/acpi/battery.asl @@ -85,7 +85,7 @@ Device (BATX) Store (BDC0, Index (PBIF, 1)) // Batt Design Capacity Store (BFC0, Index (PBIF, 2)) // Batt Last Full Charge Capacity Store (BDV0, Index (PBIF, 4)) // Batt Design Voltage - Divide(BFC0, 0x64, Local0, Local1) + Divide(BFC0, 0x64, , Local1) Multiply(Local1, 0x0A, Local0) Store(Local0, Index(PBIF, 5)) Multiply(Local1, 0x05, Local0) diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl index 7866261..1f37f13 100644 --- a/src/ec/quanta/it8518/acpi/battery.asl +++ b/src/ec/quanta/it8518/acpi/battery.asl @@ -163,8 +163,8 @@ Device (BATX) // Design capacity of High (5%) // Design capacity of Low (1%) // - Divide (Local0, 20, Local1, Index (PBIF, 5)) - Divide (Local0, 100, Local1, Index (PBIF, 6)) + Divide (Local0, 20, , Index (PBIF, 5)) + Divide (Local0, 100, , Index (PBIF, 6))
// // Design voltage @@ -301,7 +301,7 @@ Device (BATX) If (Local6) { Multiply (ECVO, Local1, Local1) - Divide (Local1, 1000, Local7, Local1) + Divide (Local1, 1000, , Local1) } Store (Local1, Index (PBST, One))
diff --git a/src/mainboard/getac/p470/acpi/battery.asl b/src/mainboard/getac/p470/acpi/battery.asl index 6862748..48f1eca 100644 --- a/src/mainboard/getac/p470/acpi/battery.asl +++ b/src/mainboard/getac/p470/acpi/battery.asl @@ -71,10 +71,10 @@ Scope(_SB) { Store(_SB.PCI0.LPCB.EC0.BFC0, Local0) Store(Local0, Index(PBIF, 2))
- Divide(Local0, 10, Local1, Local2) + Divide(Local0, 10, , Local2) Store(Local2, Index(PBIF, 5))
- Divide(Local0, 20, Local1, Local2) + Divide(Local0, 20, , Local2) Store(Local2, Index(PBIF, 6))
If(_SB.PCI0.LPCB.EC0.BTYP) { @@ -176,10 +176,10 @@ Scope(_SB) { Store(_SB.PCI0.LPCB.EC0.BFC2, Local0) Store(Local0, Index(PBIF, 2))
- Divide(Local0, 10, Local1, Local2) + Divide(Local0, 10, , Local2) Store(Local2, Index(PBIF, 5))
- Divide(Local0, 20, Local1, Local2) + Divide(Local0, 20, , Local2) Store(Local2, Index(PBIF, 6))
If(_SB.PCI0.LPCB.EC0.BTY2) {