diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-08-28 01:14:00 +0200 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2014-09-12 18:58:11 +0200 |
commit | 47d37b9ab255fded3df1163b126397b4ee6d9830 (patch) | |
tree | 7f0cf593479719e7c6b96cc890fc09696ae052e3 /src/ec | |
parent | 08ba7d0c27f359919e707b563169e9d54decb1aa (diff) | |
download | coreboot-47d37b9ab255fded3df1163b126397b4ee6d9830.tar.xz |
ec/lenovo/h8: return correctly typed package if battery is absent
Fixes "Discharge rate invalid message" and fwts error.
Change-Id: I51f9d819f164552567d75f83c95ba7523e97343e
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/6793
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/ec')
-rw-r--r-- | src/ec/lenovo/h8/acpi/battery.asl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/lenovo/h8/acpi/battery.asl b/src/ec/lenovo/h8/acpi/battery.asl index 7dd49fe0fd..6abd4a52dd 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 }) } } |