From 94dd77896d8729a5456e3fa61c258c9415c0c246 Mon Sep 17 00:00:00 2001 From: Abe Levkoy Date: Wed, 13 Jan 2021 17:00:32 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2628132 Reviewed-by: Aseda Aboagye --- board/elemi/board.h | 1 - 1 file changed, 1 deletion(-) (limited to 'board/elemi') diff --git a/board/elemi/board.h b/board/elemi/board.h index df2423c24d..c9be63a60d 100644 --- a/board/elemi/board.h +++ b/board/elemi/board.h @@ -44,7 +44,6 @@ /* TODO: b/144165680 - measure and check these values on Volteer */ #define PD_POWER_SUPPLY_TURN_ON_DELAY 30000 /* us */ #define PD_POWER_SUPPLY_TURN_OFF_DELAY 30000 /* us */ -#define CONFIG_USBC_VCONN_SWAP_DELAY_US 5000 /* us */ /* * SN5S30 PPC supports up to 24V VBUS source and sink, however passive USB-C -- cgit v1.2.1