summaryrefslogtreecommitdiff
path: root/board/brya/board.h
diff options
context:
space:
mode:
authorBoris Mittelberg <bmbm@google.com>2021-05-18 20:46:38 +0000
committerCommit Bot <commit-bot@chromium.org>2021-05-19 01:18:07 +0000
commit7275ced0eadbf0adfe307f2e3c49f830e488f89a (patch)
tree4ad96961ab8d5d030019e2691be641f1b72f6acd /board/brya/board.h
parent9e8c0c0e2b5a9d7fb5aaa77cf425b7c190bc4d49 (diff)
downloadchrome-ec-7275ced0eadbf0adfe307f2e3c49f830e488f89a.tar.gz
brya: reduce TCPC debug level to unblock testing
Important EC log messages are getting overlapped by TCPC/PD messages. The default level is now set to 0. BRANCH=none BUG=b:186707521 TEST=running FAFT PD with `pd dump 0` works Signed-off-by: Boris Mittelberg <bmbm@google.com> Change-Id: Ia3415c878e49bae01460f5e2acb6b8ce736b9986 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2904553 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: caveh jalali <caveh@chromium.org>
Diffstat (limited to 'board/brya/board.h')
-rw-r--r--board/brya/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/brya/board.h b/board/brya/board.h
index b14543e031..fb5fb6ef32 100644
--- a/board/brya/board.h
+++ b/board/brya/board.h
@@ -90,6 +90,9 @@
#define CONFIG_USBC_PPC_SYV682X
#define CONFIG_USBC_PPC_NX20P3483
+/* Remove prints and free flash space by excluding PD state names */
+#define CONFIG_USB_PD_DEBUG_LEVEL 0
+
/* TODO: b/177608416 - measure and check these values on brya */
#define PD_POWER_SUPPLY_TURN_ON_DELAY 30000 /* us */
#define PD_POWER_SUPPLY_TURN_OFF_DELAY 30000 /* us */