Duncan Laurie has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32093
Change subject: ec/google/wilco: Add ACPI _BIX method for battery ......................................................................
ec/google/wilco: Add ACPI _BIX method for battery
I added a method to fill out the _BIX package structure but never hooked it up to the expected _BIX method that the OS uses.
This change adds _BIX method and uses the existing method to fill it out. It also adds ^ before the _UID in _BIF to match _BIX as the _UID is one level above the method.
Change-Id: I0de91369b6780fd9432990732c1078a73f6a3419 Signed-off-by: Duncan Laurie dlaurie@google.com --- M src/ec/google/wilco/acpi/battery.asl 1 file changed, 13 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/32093/1
diff --git a/src/ec/google/wilco/acpi/battery.asl b/src/ec/google/wilco/acpi/battery.asl index dd1f69a..e03d3dd 100644 --- a/src/ec/google/wilco/acpi/battery.asl +++ b/src/ec/google/wilco/acpi/battery.asl @@ -274,17 +274,22 @@
Method (_STA, 0, Serialized) { - Return (ESTA (_UID)) + Return (ESTA (^_UID)) }
Method (_BST, 0, Serialized) { - Return (EBST (_UID, PBST)) + Return (EBST (^_UID, PBST)) }
Method (_BIF, 0, Serialized) { - Return (EBIF (_UID, PBIF)) + Return (EBIF (^_UID, PBIF)) + } + + Method (_BIX, 0, Serialized) + { + Return (EBIX (^_UID, PBIX)) } }
@@ -354,4 +359,9 @@ { Return (EBIF (^_UID, PBIF)) } + + Method (_BIX, 0, Serialized) + { + Return (EBIX (^_UID, PBIX)) + } }