diff options
author | Ting Shen <phoenixshen@google.com> | 2019-11-22 19:45:21 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-12-03 04:24:11 +0000 |
commit | 9e8d18c38af1c7edb54c9b401cc6572089c39d02 (patch) | |
tree | 7fb4a7990426803bf59a13cffcaf88833efe9363 /board/kukui/board.h | |
parent | 4f903b42021a6192e5ec6fbfac05e1b6ac75dd36 (diff) | |
download | chrome-ec-9e8d18c38af1c7edb54c9b401cc6572089c39d02.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/+/1932867
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/kukui/board.h')
-rw-r--r-- | board/kukui/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/kukui/board.h b/board/kukui/board.h index 4ac375b19b..c8c2f566ad 100644 --- a/board/kukui/board.h +++ b/board/kukui/board.h @@ -96,6 +96,8 @@ #define CONFIG_MKBP_EVENT_WAKEUP_MASK \ (BIT(EC_MKBP_EVENT_SENSOR_FIFO) | BIT(EC_MKBP_EVENT_HOST_EVENT)) +#define PD_OPERATING_POWER_MW 15000 + #ifndef __ASSEMBLER__ enum adc_channel { |