summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2021-07-09 08:32:17 -0600
committerCommit Bot <commit-bot@chromium.org>2021-07-09 17:49:22 +0000
commita6575bd2a4ae805f2fc1bdaa70877a1eca8f1d75 (patch)
treef9384e7fd6a1b6190b2350044b58ad2c91547b83 /board
parent4c755a498a2b48c3c53a4e64647b06a298d66c21 (diff)
downloadchrome-ec-a6575bd2a4ae805f2fc1bdaa70877a1eca8f1d75.tar.gz
samus_pd: Enable fixed USB PD debug level
Enable a fixed USB PD debug level to save flash space. This saves 448 bytes of RO space and 428 bytes of RW space. Free RO space 1012 bytes, free FW space is 1388 bytes. BUG=none BRANCH=none TEST=make buildall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I8bbea551b18ad39baba7fd15bdd92b4a8f3f8c5d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3018169 Commit-Queue: Diana Z <dzigterman@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board')
-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 09e9c0df4c..3996cf882f 100644
--- a/board/samus_pd/board.h
+++ b/board/samus_pd/board.h
@@ -18,6 +18,7 @@
/* To save space */
#undef CONFIG_SUPPRESSED_HOST_COMMANDS
#undef CONFIG_CMD_MFALLOW
+#define CONFIG_USB_PD_DEBUG_LEVEL 1
/* Optional features */
#define CONFIG_ADC