summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNamyoon Woo <namyoon@chromium.org>2020-02-27 17:08:47 -0800
committerCommit Bot <commit-bot@chromium.org>2020-02-28 22:24:02 +0000
commitab35b456ad8c52f336ea793b17155cfc796c4e44 (patch)
tree1eec5251d7633c1c8310be757d5ca540f51629cc
parent359601479790a2fc83cea483a54530712e648670 (diff)
downloadchrome-ec-ab35b456ad8c52f336ea793b17155cfc796c4e44.tar.gz
dedede: add chargen to the set of CLI commands
This is needed to support CCD testing of UART to USB bridging. This patch occupies 448 and 428 bytes in flash usage of RO and RW respectively. BUG=b:38448364 BRANCH=none TEST=build waddledoo and waddledee, and checked that command is included in the symbol map. Signed-off-by: Namyoon Woo <namyoon@chromium.org> Change-Id: Id2f525b1a53042316f96e6374dee84e95c1f5c37 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2079709 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r--baseboard/dedede/baseboard.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/baseboard/dedede/baseboard.h b/baseboard/dedede/baseboard.h
index 09447ed27b..2a0052546b 100644
--- a/baseboard/dedede/baseboard.h
+++ b/baseboard/dedede/baseboard.h
@@ -172,6 +172,9 @@
#define CONFIG_USB_PD_TCPMV2
#define CONFIG_USB_TYPEC_DRP_ACC_TRYSRC
+/* UART COMMAND */
+#define CONFIG_CMD_CHARGEN
+
/* Define typical operating power and max power. */
#define PD_MAX_VOLTAGE_MV 20000
#define PD_MAX_CURRENT_MA 3000