summaryrefslogtreecommitdiff
path: root/baseboard/intelrvp
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2021-01-21 12:11:23 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-22 22:31:26 +0000
commit7ae4c0c3d6fed6ae377c418ddf305ae596381dd0 (patch)
treeac43b34d7a92e952bd6edfabaf9e3f4300f2bde7 /baseboard/intelrvp
parenta18f2c5716b70874fdce305e97d2684f29f19f99 (diff)
downloadchrome-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 'baseboard/intelrvp')
-rw-r--r--baseboard/intelrvp/baseboard.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/baseboard/intelrvp/baseboard.h b/baseboard/intelrvp/baseboard.h
index ae450bb0a0..df6af06aba 100644
--- a/baseboard/intelrvp/baseboard.h
+++ b/baseboard/intelrvp/baseboard.h
@@ -105,7 +105,6 @@
#define CONFIG_USB_PD_DUAL_ROLE
#define CONFIG_USB_PD_TCPM_TCPCI
#define CONFIG_USB_PD_TRY_SRC
-#define CONFIG_USB_PD_VBUS_MEASURE_NOT_PRESENT
#define CONFIG_USB_POWER_DELIVERY
/* USB MUX */