summaryrefslogtreecommitdiff
path: root/board/careena/board.h
diff options
context:
space:
mode:
authorEdward Hill <ecgh@chromium.org>2018-05-24 11:29:19 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-06-01 17:44:19 -0700
commitf30bb2839f0cd22efe0468680daf66e45a3ce862 (patch)
tree65913ed7628af5291f1f43d74aaf114476f46de8 /board/careena/board.h
parent31fbb6889e75eb1ebe823a74a9bc95da78b991ad (diff)
downloadchrome-ec-f30bb2839f0cd22efe0468680daf66e45a3ce862.tar.gz
grunt: Board specific battery info
Split battery info between baseboard and board, following the Octopus example. This will allow Grunt and Careena to define their own lists of supported battery types. This also adds CONFIG_BATTERY_REVIVE_DISCONNECT support, and checks the charge/discharge FET status. BUG=b:79704826,b:74018100 BRANCH=none TEST=Grunt still boots ok. Change-Id: I6e82ac5e48f9aabf59b63add253108513f0a6b60 Signed-off-by: Edward Hill <ecgh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1072039 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/careena/board.h')
-rw-r--r--board/careena/board.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/careena/board.h b/board/careena/board.h
index c76a3c9b72..22d34d3b5e 100644
--- a/board/careena/board.h
+++ b/board/careena/board.h
@@ -30,6 +30,11 @@ enum pwm_channel {
PWM_CH_COUNT
};
+enum battery_type {
+ BATTERY_PANASONIC,
+ BATTERY_TYPE_COUNT,
+};
+
#endif /* !__ASSEMBLER__ */
#endif /* __CROS_EC_BOARD_H */