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/coral/board.h | 1 - 1 file changed, 1 deletion(-) (limited to 'board/coral') diff --git a/board/coral/board.h b/board/coral/board.h index 3d63c521ec..1fec0ed36c 100644 --- a/board/coral/board.h +++ b/board/coral/board.h @@ -287,7 +287,6 @@ enum coral_board_version { #define PD_POWER_SUPPLY_TURN_OFF_DELAY 250000 /* us */ /* delay to turn on/off vconn */ -#define CONFIG_USBC_VCONN_SWAP_DELAY_US 5000 /* us */ /* Define typical operating power and max power */ #define PD_OPERATING_POWER_MW 15000 -- cgit v1.2.1