summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorNehemiah Dureus <ndureus@google.com>2021-10-28 23:02:32 +0000
committerCommit Bot <commit-bot@chromium.org>2021-10-29 18:50:11 +0000
commit34f8514cd67c4cbaccafcf7b0c88ea7c04ddba7e (patch)
treeed398af8cdc774373b3fa00325d54f0d2e9ff9d6 /board
parentb747d962475cd0aa5d23e97b97b1c64710ce2da9 (diff)
downloadchrome-ec-34f8514cd67c4cbaccafcf7b0c88ea7c04ddba7e.tar.gz
elm: Disable verbose output for EC command
Compiles the less detailed but more memory efficient version of EC command `pd <port> srccaps`, to save elm memory. This is for a feature to make the EC power delivery command more verbose: c/3248345. BRANCH=None BUG=b:194402616 TEST=Built all boards (make -j buildall) Signed-off-by: Nehemiah Dureus <ndureus@google.com> Cq-Depend: chromium:3248345 Change-Id: I1776c917759f3b7db006b856b209631131c4062c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3252409 Reviewed-by: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'board')
-rw-r--r--board/elm/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/elm/board.h b/board/elm/board.h
index 40eb81eab8..319241642c 100644
--- a/board/elm/board.h
+++ b/board/elm/board.h
@@ -122,6 +122,8 @@
#define CONFIG_HOSTCMD_DEBUG_MODE HCDEBUG_OFF
#define CONFIG_CMD_I2C_PROTECT
#define CONFIG_HOSTCMD_PD_CONTROL
+/* Disable verbose output in EC pd */
+#define CONFIG_CMD_PD_SRCCAPS_REDUCED_SIZE
/*
* Flash layout: