ec/google/chromec: Add BFIV, BFCT
The flag EC_BATT_FLAG_CUT_OFF was added with the CL: 3704470: battery: Set battery cutoff flag https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3704470 This flag is set in the ACPI memory mapped area when the command `ectool batterycutoff` is issued so ACPI code can respond appriopriately. This CL adds the flags to coreboot ACPI. BRANCH=none BUG=b:217911928 TEST=Boot nipperkin with low & no battery TEST=Boot skyrim with low & no battery Signed-off-by: Tim Van Patten <timvp@google.com> Change-Id: I4e63ff4fc2d6b0ecf767a6bffd81f823c74c15bb Reviewed-on: https://review.coreboot.org/c/coreboot/+/66803 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
c826ba419f
commit
d4f135d31b
|
@ -33,6 +33,8 @@ BTEX, 1, // Battery Present
|
|||
BFDC, 1, // Battery Discharging
|
||||
BFCG, 1, // Battery Charging
|
||||
BFCR, 1, // Battery Level Critical
|
||||
BFIV, 1, // Invalid Battery Data
|
||||
BFCT, 1, // Battery cutoff
|
||||
Offset (0x4d),
|
||||
BTCN, 8, // Battery Count
|
||||
BTIX, 8, // Battery index
|
||||
|
|
Loading…
Reference in New Issue