Vladimir Serbinenko (phcoder@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6793
-gerrit
commit 2ee14ee6e98f70173a1c80873e9f874e1923b908 Author: Vladimir Serbinenko phcoder@gmail.com Date: Thu Aug 28 01:14:00 2014 +0200
ec/lenovo/h8: return correctly typed package if battery is absent
Change-Id: I51f9d819f164552567d75f83c95ba7523e97343e Signed-off-by: Vladimir Serbinenko phcoder@gmail.com --- src/ec/lenovo/h8/acpi/battery.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ec/lenovo/h8/acpi/battery.asl b/src/ec/lenovo/h8/acpi/battery.asl index 7dd49fe..6abd4a5 100644 --- a/src/ec/lenovo/h8/acpi/battery.asl +++ b/src/ec/lenovo/h8/acpi/battery.asl @@ -223,7 +223,7 @@ Device (BAT0) if (B0PR) { Return (BSTA(0, BATI, B0CH, B0DI)) } else { - Return (BATS) + Return (Package () { 0, 0, 0, 0 }) } }
@@ -281,7 +281,7 @@ Device (BAT1) if (B1PR) { Return (BSTA(0x10, BATI, B1CH, B1DI)) } else { - Return (BATS) + Return (Package () { 0, 0, 0, 0 }) } }