summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2022-08-02 11:41:03 -0500
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-05 01:47:31 +0000
commit51f4708334e17c29efa9ebc114bab695b7261b4a (patch)
tree79198252d1e0c83146726d87d7be38befddbf1ab
parenteed23440af3b263f07e4489291af0440328430a4 (diff)
downloadchrome-ec-51f4708334e17c29efa9ebc114bab695b7261b4a.tar.gz
cr50: TOT_ONLY: add chargen
DO NOT LAND IN RELEASE BRNACHES. Add chargen to tot images, so we can verify c2d2 and servo micro functionality with tot cr50 images. BUG=b:240718978 TEST=run chargen Change-Id: I98bc344a2914f311a056904a7fc5b650b22c40d0 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3805824 Commit-Queue: Andrey Pronin <apronin@chromium.org> Reviewed-by: Andrey Pronin <apronin@chromium.org>
-rw-r--r--board/cr50/board.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h
index 828b2d7d3d..5f1e9d2df4 100644
--- a/board/cr50/board.h
+++ b/board/cr50/board.h
@@ -40,6 +40,12 @@
#undef CONFIG_CMD_SLEEPMASK_SET
#undef CONFIG_CMD_WAITMS
#undef CONFIG_FLASH
+#else
+/*
+ * Add chargen to standard TOT images. The DBG image doesn't have enough room
+ * for it.
+ */
+#define CONFIG_CMD_CHARGEN
#endif
#if defined(H1_RED_BOARD) || defined(CR50_DEV)