summaryrefslogtreecommitdiff
path: root/board/cr50/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/cr50/board.h')
-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 062ba4c48a..7729d79931 100644
--- a/board/cr50/board.h
+++ b/board/cr50/board.h
@@ -133,6 +133,12 @@
#define CONFIG_CCD_OPEN_PREPVT
#ifdef CR50_DEV
+/* Remove console commands to save space. */
+#undef CONFIG_CMD_SLEEPMASK
+#undef CONFIG_CMD_TIMERINFO
+#undef CONFIG_CONSOLE_HISTORY
+#undef CONFIG_CMD_I2C_SCAN
+#undef CONFIG_CMD_I2C_XFER
/* Enable unsafe dev features for CCD in dev builds */
#define CONFIG_CASE_CLOSED_DEBUG_V1_UNSAFE
#define CONFIG_CMD_FLASH_LOG