diff options
author | Simon Glass | 2021-07-05 16:32:49 -0600 |
---|---|---|
committer | Simon Glass | 2021-07-21 10:27:34 -0600 |
commit | 201efb2bb0f7c4ae5f08f51b6f6b7cdfdba5b4f4 (patch) | |
tree | 6026b80c95198250f84aa76701c47770f552948b /lib/elf.c | |
parent | ecc1ed912e4400b19783d4bd384914597c4a3679 (diff) |
cros_ec: Allow reading the battery-charge state
Add a function to read this information from the EC. It is useful for
determining whether the battery has enough charge to boot.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/elf.c')
0 files changed, 0 insertions, 0 deletions