summaryrefslogtreecommitdiff
path: root/test/test_config.h
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2021-01-13 17:00:32 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-22 05:00:49 +0000
commit94dd77896d8729a5456e3fa61c258c9415c0c246 (patch)
treeeeb474ba920876c77ee9ee6e600adbea1fe9cb16 /test/test_config.h
parentc5caae72ddbf106660bb82b463b5027d1ad0e880 (diff)
downloadchrome-ec-94dd77896d8729a5456e3fa61c258c9415c0c246.tar.gz
config: Provide default VCONN Swap delay
Almost every relevant board copy-pastes 5000 us. Make that the default and get rid of the redundant definitions. This is the approximate result of this command: find . -type f -name *.h | xargs sed -i -E \ '/#define CONFIG_USBC_VCONN_SWAP_DELAY_US[[:space:]]+5000[[:space:]]/d' BUG=b:144165680 TEST=make buildall BRANCH=none Change-Id: Ife86f9752971abcd7ab5ad5a5e607eb2ccbde2ba Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2628132 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'test/test_config.h')
-rw-r--r--test/test_config.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/test_config.h b/test/test_config.h
index b277592e88..562be47ca9 100644
--- a/test/test_config.h
+++ b/test/test_config.h
@@ -389,7 +389,6 @@ int ncp15wb_calculate_temp(uint16_t adc);
#define CONFIG_USB_PD_DECODE_SOP
#undef CONFIG_USB_TYPEC_SM
#define CONFIG_USBC_VCONN
-#define CONFIG_USBC_VCONN_SWAP_DELAY_US 5000 /* us */
#define CONFIG_USB_PD_DISCHARGE_GPIO
#undef CONFIG_USB_PD_HOST_CMD
#define CONFIG_USB_PD_ALT_MODE_DFP
@@ -413,7 +412,6 @@ int ncp15wb_calculate_temp(uint16_t adc);
#define CONFIG_USB_PD_DECODE_SOP
#undef CONFIG_USB_TYPEC_SM
#define CONFIG_USBC_VCONN
-#define CONFIG_USBC_VCONN_SWAP_DELAY_US 5000 /* us */
#define CONFIG_USB_PD_DISCHARGE_GPIO
#undef CONFIG_USB_PD_HOST_CMD
#define CONFIG_USB_PD_ALT_MODE_DFP
@@ -491,7 +489,6 @@ int ncp15wb_calculate_temp(uint16_t adc);
#define CONFIG_USBC_VCONN
#define CONFIG_USBC_VCONN_SWAP
#define CONFIG_USB_PID 0x5036
-#define CONFIG_USBC_VCONN_SWAP_DELAY_US 5000 /* us */
#define CONFIG_USB_PD_TCPM_TCPCI
#define CONFIG_I2C
#define CONFIG_I2C_CONTROLLER