diff options
author | Ting Shen <phoenixshen@google.com> | 2019-11-22 19:45:21 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-29 10:36:40 +0000 |
commit | 81d2e72bf6f6d726e49d6683eb40980471dc3052 (patch) | |
tree | 1ee0085396a237676e7b82cb60daf1c82dbdd235 /board/damu | |
parent | c4fabbe69e7133dcee44930e2743d5cef203bad1 (diff) | |
download | chrome-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/damu')
-rw-r--r-- | board/damu/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/damu/board.h b/board/damu/board.h index 43fe58486f..98374b9a61 100644 --- a/board/damu/board.h +++ b/board/damu/board.h @@ -76,6 +76,8 @@ (EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_POWER_BUTTON)) +#define PD_OPERATING_POWER_MW 30000 + #ifndef __ASSEMBLER__ enum adc_channel { |