summaryrefslogtreecommitdiff
path: root/board/jacuzzi/board.h
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2019-11-22 19:45:21 +0800
committerCommit Bot <commit-bot@chromium.org>2019-11-29 10:36:40 +0000
commit81d2e72bf6f6d726e49d6683eb40980471dc3052 (patch)
tree1ee0085396a237676e7b82cb60daf1c82dbdd235 /board/jacuzzi/board.h
parentc4fabbe69e7133dcee44930e2743d5cef203bad1 (diff)
downloadchrome-ec-81d2e72bf6f6d726e49d6683eb40980471dc3052.tar.gz
kukui: refactor PD_MAX_VOLTAGE/PD_OPERATING_POWER
1) PD_MAX_VOLTAGE_MV is determined by charger, move it into the ifdef VARIANT_KUKUI_CHARGER_* clause. 2) PD_OPERATING_POWER_MW is determined by board, move it into board.h. 3) update the two config variables above for jacuzzi family. BUG=None TEST=make buildall BRANCH=kukui Change-Id: I6f14a71a34e2c81a5030ff5809996ddf74a4ad12 Signed-off-by: Ting Shen <phoenixshen@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1930521 Reviewed-by: Eric Yilun Lin <yllin@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org> Tested-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/jacuzzi/board.h')
-rw-r--r--board/jacuzzi/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/jacuzzi/board.h b/board/jacuzzi/board.h
index 1595d8b86d..d590a163e3 100644
--- a/board/jacuzzi/board.h
+++ b/board/jacuzzi/board.h
@@ -83,6 +83,8 @@
#define CONFIG_KEYBOARD_BOARD_CONFIG
#define CONFIG_KEYBOARD_COL2_INVERTED
+#define PD_OPERATING_POWER_MW 30000
+
#ifndef __ASSEMBLER__
enum adc_channel {