summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2019-07-03 13:45:51 -0700
committerCommit Bot <commit-bot@chromium.org>2019-07-23 20:53:08 +0000
commit1c025a41c426acf4c554308aa19653fddb1b4e17 (patch)
treee1ebd872a521defd6dbf55fac8366aadd021d1cf
parent12aceac4e289ea079e8577997bc04c16b5fd2ad9 (diff)
downloadchrome-ec-1c025a41c426acf4c554308aa19653fddb1b4e17.tar.gz
hatch: add chargen to the set of CLI commands
This is needed to support CCD testing of UART to USB bridging. BRANCH=none BUG=b:38448364 TEST=ran 'make BOARD=hatch -j', verified that command is included in the symbol map. Change-Id: I11a9dcf7c3204a4464eb5305d0b6b38f51205575 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1688135 Reviewed-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Namyoon Woo <namyoon@chromium.org>
-rw-r--r--baseboard/hatch/baseboard.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/baseboard/hatch/baseboard.h b/baseboard/hatch/baseboard.h
index 3060927931..e7853d14af 100644
--- a/baseboard/hatch/baseboard.h
+++ b/baseboard/hatch/baseboard.h
@@ -127,6 +127,9 @@
#define CONFIG_CMD_PD_CONTROL
#define CONFIG_CMD_PPC_DUMP
+/* Include CLI command needed to support CCD testing. */
+#define CONFIG_CMD_CHARGEN
+
#define USB_PD_PORT_TCPC_0 0
#define USB_PD_PORT_TCPC_1 1