summaryrefslogtreecommitdiff
path: root/board/kukui
diff options
context:
space:
mode:
authorNehemiah Dureus <ndureus@google.com>2021-10-27 15:53:00 +0000
committerCommit Bot <commit-bot@chromium.org>2021-10-29 18:49:44 +0000
commit1caf5c43b23fbc093b3658138b81ebe5abbc839f (patch)
tree35ec38302b2caf5ba03ed4b8cbaf76742192360a /board/kukui
parent9c499b2ad9f29f71cbfde3c9c27e1e2ae1fc9f16 (diff)
downloadchrome-ec-1caf5c43b23fbc093b3658138b81ebe5abbc839f.tar.gz
kukui: Disable verbose EC command in RO segment
Compiles the less detailed but more memory efficient version of EC command `pd <port> srccaps`, to save kukui memory. Only applies to RO segment. 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: I6b9229862dd7a1212e5864bda1a94068b740b400 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3248342 Reviewed-by: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'board/kukui')
-rw-r--r--board/kukui/board.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/kukui/board.h b/board/kukui/board.h
index dd031f90f0..1f92e8f429 100644
--- a/board/kukui/board.h
+++ b/board/kukui/board.h
@@ -31,6 +31,10 @@
#define CONFIG_VOLUME_BUTTONS
#define CONFIG_USB_MUX_RUNTIME_CONFIG
+#ifdef SECTION_IS_RO
+#define CONFIG_CMD_PD_SRCCAPS_REDUCED_SIZE
+#endif /* SECTION_IS_RO */
+
/* Battery */
#ifdef BOARD_KRANE
#define BATTERY_DESIRED_CHARGING_CURRENT 3500 /* mA */