diff options
author | Ting Shen <phoenixshen@google.com> | 2021-12-01 18:27:16 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-12-07 07:17:46 +0000 |
commit | e3dc95984501e49a9718fb207a17a30ec7945ef4 (patch) | |
tree | ac0e4e2de78aacdd72710b1019da842081c8771e | |
parent | c177357355cdee23c897960068d492fc465d22fe (diff) | |
download | chrome-ec-stabilize-14385.B-main.tar.gz |
cherry: disable PD logstabilize-14385.B-main
We found that disabling *all* console outputs makes PD response time
30% faster.
Since we can't disable all outputs, try to remove a few redundant
things first.
BUG=b:193753475
TEST=Measure the delay between Source_Cap and Request message.
15ms after this patch.
BRANCH=none
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I59047e9fb83eefe0f5d1c587401309dc2ffb7ef3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3310298
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Rong Chang <rongchang@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
-rw-r--r-- | baseboard/cherry/baseboard.h | 1 | ||||
-rw-r--r-- | board/cherry/board.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/baseboard/cherry/baseboard.h b/baseboard/cherry/baseboard.h index 6f5a98b786..ceee508680 100644 --- a/baseboard/cherry/baseboard.h +++ b/baseboard/cherry/baseboard.h @@ -109,7 +109,6 @@ #define CONFIG_LED_COMMON /* PD / USB-C / PPC */ -#define CONFIG_USB_PD_DEBUG_LEVEL 3 #define CONFIG_CMD_PPC_DUMP #define CONFIG_HOSTCMD_PD_CONTROL #define CONFIG_IT83XX_TUNE_CC_PHY diff --git a/board/cherry/board.h b/board/cherry/board.h index cafe99da3f..1c52eac8ba 100644 --- a/board/cherry/board.h +++ b/board/cherry/board.h @@ -30,7 +30,7 @@ #define CONFIG_LED_ONOFF_STATES_BAT_LOW 10 /* PD / USB-C / PPC */ -#define CONFIG_USB_PD_DEBUG_LEVEL 3 +#define CONFIG_USB_PD_DEBUG_LEVEL 0 /* Optional console commands */ #define CONFIG_CMD_FLASH |