ASL: Remove unused modulo recipient.
Change-Id: I4b0a3073815ec8d98c2d23cd745f027517b6fa42 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: https://review.coreboot.org/13619 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
93fc60621c
commit
c285b30b7d
|
@ -77,10 +77,10 @@ Device (BATX)
|
||||||
Store (BDC0, Index (PBIF, 1))
|
Store (BDC0, Index (PBIF, 1))
|
||||||
Store (BFC0, Index (PBIF, 2))
|
Store (BFC0, Index (PBIF, 2))
|
||||||
Store (BDV0, Index (PBIF, 4))
|
Store (BDV0, Index (PBIF, 4))
|
||||||
Divide(BFC0, 0x64, Local0, Local1)
|
Divide(BFC0, 0x64, , Local1)
|
||||||
Multiply(Local1, 0x0A, Local1)
|
Multiply(Local1, 0x0A, Local1)
|
||||||
Store(Local1, Index(PBIF, 5))
|
Store(Local1, Index(PBIF, 5))
|
||||||
Divide(BFC0, 0x64, Local0, Local1)
|
Divide(BFC0, 0x64, , Local1)
|
||||||
Multiply(Local1, 0x03, Local1)
|
Multiply(Local1, 0x03, Local1)
|
||||||
Store (Local1, Index (PBIF, 6))
|
Store (Local1, Index (PBIF, 6))
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@ Device (BATX)
|
||||||
Store (BDC0, Index (PBIF, 1)) // Batt Design Capacity
|
Store (BDC0, Index (PBIF, 1)) // Batt Design Capacity
|
||||||
Store (BFC0, Index (PBIF, 2)) // Batt Last Full Charge Capacity
|
Store (BFC0, Index (PBIF, 2)) // Batt Last Full Charge Capacity
|
||||||
Store (BDV0, Index (PBIF, 4)) // Batt Design Voltage
|
Store (BDV0, Index (PBIF, 4)) // Batt Design Voltage
|
||||||
Divide(BFC0, 0x64, Local0, Local1)
|
Divide(BFC0, 0x64, , Local1)
|
||||||
Multiply(Local1, 0x0A, Local0)
|
Multiply(Local1, 0x0A, Local0)
|
||||||
Store(Local0, Index(PBIF, 5))
|
Store(Local0, Index(PBIF, 5))
|
||||||
Multiply(Local1, 0x05, Local0)
|
Multiply(Local1, 0x05, Local0)
|
||||||
|
|
|
@ -163,7 +163,7 @@ Device (BATX)
|
||||||
// Design capacity of High (5%)
|
// Design capacity of High (5%)
|
||||||
// Design capacity of Low (1%)
|
// Design capacity of Low (1%)
|
||||||
//
|
//
|
||||||
Divide (Local0, 20, Local1, Index (PBIF, 5))
|
Divide (Local0, 20, , Index (PBIF, 5))
|
||||||
Divide (Local0, 100, , Index (PBIF, 6))
|
Divide (Local0, 100, , Index (PBIF, 6))
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -71,10 +71,10 @@ Scope(\_SB) {
|
||||||
Store(\_SB.PCI0.LPCB.EC0.BFC0, Local0)
|
Store(\_SB.PCI0.LPCB.EC0.BFC0, Local0)
|
||||||
Store(Local0, Index(PBIF, 2))
|
Store(Local0, Index(PBIF, 2))
|
||||||
|
|
||||||
Divide(Local0, 10, Local1, Local2)
|
Divide(Local0, 10, , Local2)
|
||||||
Store(Local2, Index(PBIF, 5))
|
Store(Local2, Index(PBIF, 5))
|
||||||
|
|
||||||
Divide(Local0, 20, Local1, Local2)
|
Divide(Local0, 20, , Local2)
|
||||||
Store(Local2, Index(PBIF, 6))
|
Store(Local2, Index(PBIF, 6))
|
||||||
|
|
||||||
If(\_SB.PCI0.LPCB.EC0.BTYP) {
|
If(\_SB.PCI0.LPCB.EC0.BTYP) {
|
||||||
|
@ -176,10 +176,10 @@ Scope(\_SB) {
|
||||||
Store(\_SB.PCI0.LPCB.EC0.BFC2, Local0)
|
Store(\_SB.PCI0.LPCB.EC0.BFC2, Local0)
|
||||||
Store(Local0, Index(PBIF, 2))
|
Store(Local0, Index(PBIF, 2))
|
||||||
|
|
||||||
Divide(Local0, 10, Local1, Local2)
|
Divide(Local0, 10, , Local2)
|
||||||
Store(Local2, Index(PBIF, 5))
|
Store(Local2, Index(PBIF, 5))
|
||||||
|
|
||||||
Divide(Local0, 20, Local1, Local2)
|
Divide(Local0, 20, , Local2)
|
||||||
Store(Local2, Index(PBIF, 6))
|
Store(Local2, Index(PBIF, 6))
|
||||||
|
|
||||||
If(\_SB.PCI0.LPCB.EC0.BTY2) {
|
If(\_SB.PCI0.LPCB.EC0.BTY2) {
|
||||||
|
|
Loading…
Reference in New Issue