summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2020-06-08 16:59:59 -0600
committerCommit Bot <commit-bot@chromium.org>2020-06-09 05:59:18 +0000
commit0f8cd5cc4ecedcc955ca004792df7f75f314d8d6 (patch)
tree9c22ee1116bf6da8a8c89366604bd1c166bb8053
parent6de5b403a1e82cd171d52f26cec03c2beb5ed367 (diff)
downloadchrome-ec-0f8cd5cc4ecedcc955ca004792df7f75f314d8d6.tar.gz
samus_pd: Disable TCPMv1 state names
Disable CONFIG_USB_PD_TCPMV1_DEBUG to save 900 bytes of RO and RW flash space. This is to keep samus_pd buildig at ToT - do not pick this onto a release branch. BUG=b:158458752 BRANCH=none TEST=make buildall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: If2f0a7bfb8306c7744f42aa896dad67d7ec6ed27 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2236630 Commit-Queue: Abe Levkoy <alevkoy@chromium.org> Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
-rw-r--r--board/samus_pd/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/samus_pd/board.h b/board/samus_pd/board.h
index 3466d69a34..fe625dbbde 100644
--- a/board/samus_pd/board.h
+++ b/board/samus_pd/board.h
@@ -56,6 +56,7 @@
#define CONFIG_USB_CHARGER
#define CONFIG_USB_POWER_DELIVERY
#define CONFIG_USB_PD_TCPMV1
+#undef CONFIG_USB_PD_TCPMV1_DEBUG
#define CONFIG_USB_PD_ALT_MODE
#define CONFIG_USB_PD_ALT_MODE_DFP
#define CONFIG_USB_PD_CHECK_MAX_REQUEST_ALLOWED