diff options
author | Abe Levkoy <alevkoy@chromium.org> | 2021-01-21 12:11:23 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-22 22:31:26 +0000 |
commit | 7ae4c0c3d6fed6ae377c418ddf305ae596381dd0 (patch) | |
tree | ac43b34d7a92e952bd6edfabaf9e3f4300f2bde7 /board/jslrvp_ite | |
parent | a18f2c5716b70874fdce305e97d2684f29f19f99 (diff) | |
download | chrome-ec-7ae4c0c3d6fed6ae377c418ddf305ae596381dd0.tar.gz |
config: Fix inconsistent VBUS measurement config
Remove CONFIG_USB_PD_VBUS_MEASURE_NOT_PRESENT from boards that define
CONFIG_USB_PD_VBUS_MEASURE_CHARGER. This change is a no-op, because
charge_manager.c is the only place where
CONFIG_USB_PD_VBUS_MEASURE_NOT_PRESENT is checked, and it is only
checked if CONFIG_USB_PD_VBUS_MEASURE_CHARGER is not defined.
BUG=b:178102402
TEST=make buildall
TEST=Build sizes before and after change are the same
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: Ia3caa57a8531a5cba549b64c9087c337996af9c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2642892
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/jslrvp_ite')
-rw-r--r-- | board/jslrvp_ite/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/jslrvp_ite/board.h b/board/jslrvp_ite/board.h index 896e773a9d..e733a30240 100644 --- a/board/jslrvp_ite/board.h +++ b/board/jslrvp_ite/board.h @@ -47,6 +47,7 @@ /* USB PD config */ #define CONFIG_USB_PD_TCPM_ITE_ON_CHIP #define CONFIG_USB_PD_ITE_ACTIVE_PORT_COUNT 2 +#define CONFIG_USB_PD_VBUS_MEASURE_NOT_PRESENT /* USB MUX */ #define CONFIG_USB_MUX_ANX7440 |