summaryrefslogtreecommitdiff
path: root/board/lazor
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-03-19 16:50:15 -0600
committerCommit Bot <commit-bot@chromium.org>2021-03-22 07:32:43 +0000
commit40380658717904d61483e02f50ce590734872aba (patch)
tree53fba65db2745ebce56189882c6c8d957f0411d7 /board/lazor
parentb7c284cc45cc101b05e48ff97d995f6a2d34cdc7 (diff)
downloadchrome-ec-40380658717904d61483e02f50ce590734872aba.tar.gz
lazor: move declaration of battery_cell_type to ln9310.h
ln9310 driver depends on these functions (sadly), so it does not make sense to be declaring them in board.h. Specifically, the Zephyr build won't include Lazor's board.h. ln9310.h is the best home I can think of for now. Ideally we could refactor this later so that the ln9310 driver wasn't depending on board-specific functions. BUG=b:183054226 BRANCH=none TEST=buildall Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I7c82d2ed3d3c16d8131238cd236741e31de5b0c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2776221 Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/lazor')
-rw-r--r--board/lazor/board.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/board/lazor/board.h b/board/lazor/board.h
index a6498671ee..d76bf6d689 100644
--- a/board/lazor/board.h
+++ b/board/lazor/board.h
@@ -114,14 +114,6 @@ enum battery_type {
BATTERY_TYPE_COUNT,
};
-/* Battery cell type */
-enum battery_cell_type {
- BATTERY_CELL_TYPE_UNKNOWN = 0,
- BATTERY_CELL_TYPE_2S = 2,
- BATTERY_CELL_TYPE_3S = 3
-};
-
-enum battery_cell_type board_get_battery_cell_type(void);
/* Custom function to indicate if sourcing VBUS */
int board_is_sourcing_vbus(int port);
/* Enable VBUS sink for a given port */