diff options
author | Scott Collyer <scollyer@google.com> | 2019-01-09 18:32:31 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-01-30 13:06:37 -0800 |
commit | 53a9890eb203d7f5ba88d4e94fd86b58c3d1a204 (patch) | |
tree | ffc2e8cc26927e942074f5fede3511bec8eab777 /board/hatch/board.h | |
parent | 16ce90ccf29129157d5cea0bea79dcb29367cd08 (diff) | |
download | chrome-ec-53a9890eb203d7f5ba88d4e94fd86b58c3d1a204.tar.gz |
hatch: Fix battery name and add SMP-SDP battery support
This CL fixes the manufacturer name field for the battery used in
factory bring up and adds support for the battery being shipped with
P0 units.
BRANCH=none
BUG=b:123244947
TEST=Verifed that both the battery used in the factory and that being
shipped with P0 units are found at init time.
Change-Id: I572879fc32aaf8aad8289fc52a385262ea61cdc2
Signed-off-by: Scott Collyer <scollyer@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1406495
Commit-Ready: Scott Collyer <scollyer@chromium.org>
Tested-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/hatch/board.h')
-rw-r--r-- | board/hatch/board.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/hatch/board.h b/board/hatch/board.h index ad665c6867..3cfc6aff0a 100644 --- a/board/hatch/board.h +++ b/board/hatch/board.h @@ -88,7 +88,8 @@ enum temp_sensor_id { /* List of possible batteries */ enum battery_type { - BATTERY_KEYSTONE, + BATTERY_SMP_LIS, + BATTERY_SMP_SDI, BATTERY_TYPE_COUNT, }; |