summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNamyoon Woo <namyoon@chromium.org>2020-02-27 17:23:01 -0800
committerCommit Bot <commit-bot@chromium.org>2020-02-28 23:15:51 +0000
commitbb9998acdffc3176a119f5c8620345b832cf17f0 (patch)
tree21de510a0219fbd6710fb4b686d16c81099a7e0f
parenta2502be2126a6cab214985975d51246ba154c7c3 (diff)
downloadchrome-ec-bb9998acdffc3176a119f5c8620345b832cf17f0.tar.gz
volteer: add chargen to the set of CLI commands
This is needed to support CCD testing of UART to USB bridging. This patch occupies 440 and 424 bytes in flash usage of RO and RW respectively. BUG=none BRANCH=none TEST=build volteer, and checked that command is included in the symbol map. Signed-off-by: Namyoon Woo <namyoon@chromium.org> Change-Id: Ife501d6a2da10840ad06ec025a6a2663021072cf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2079871 Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r--baseboard/volteer/baseboard.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/baseboard/volteer/baseboard.h b/baseboard/volteer/baseboard.h
index a9d1816fea..53327d0f80 100644
--- a/baseboard/volteer/baseboard.h
+++ b/baseboard/volteer/baseboard.h
@@ -213,6 +213,9 @@
/* Enabling USB4 mode */
#define CONFIG_USB_PD_USB4
+/* UART COMMAND */
+#define CONFIG_CMD_CHARGEN
+
/*
* USB ID
* This is allocated specifically for Volteer