summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-09-15 16:57:04 -0600
committerCommit Bot <commit-bot@chromium.org>2021-09-16 18:15:40 +0000
commit4ffe745064c3f1b334e64962d01a6f704054366a (patch)
treeb7eff0cc747605c628fcb24ce8c42fb7ae41b2ec
parentafad18bf59d78ef236cf16d180e8f141cfbb41d7 (diff)
downloadchrome-ec-stabilize-rust-14224.B-main.tar.gz
Elm: Free up flash spacestabilize-rust-14224.B-main
Elm is at about 100 bytes free flash on ToT, so remove TCPMv1 state strings to free up space. BRANCH=None BUG=None TEST=build and verify elm has almost 900 more bytes free Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I01288066b528b0f26ac58db85da9baacc39bde69 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3163928 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r--board/elm/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/elm/board.h b/board/elm/board.h
index 9a3cd7bb4d..40eb81eab8 100644
--- a/board/elm/board.h
+++ b/board/elm/board.h
@@ -14,6 +14,9 @@
*/
#define CONFIG_SYSTEM_UNLOCKED
+/* Free up flash space */
+#undef CONFIG_USB_PD_TCPMV1_DEBUG
+
/* Accelero meter and gyro sensor */
#define CONFIG_ACCEL_KX022
#undef CONfFIG_CMD_ACCELSPOOF