summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Mittelberg <bmbm@google.com>2021-08-03 10:16:38 -0700
committerCommit Bot <commit-bot@chromium.org>2021-08-10 00:00:16 +0000
commita6c9ea5050f6f3b1414c38e1d55e7decef5f9121 (patch)
treebe8ed53cf153a0d8f924c28a992b94f4f2a644c3
parent8bbea20178969365302f364527e7949a0cb04197 (diff)
downloadchrome-ec-a6c9ea5050f6f3b1414c38e1d55e7decef5f9121.tar.gz
waddledoo: disable console commands to save space
Disabling accelspoof and battfake EC console commands BRANCH=main,dedede BUG=none TEST=make -j BOARD=waddledoo Signed-off-by: Boris Mittelberg <bmbm@google.com> Change-Id: Ib4f93185e6f4b63099ea7d600037b03fc306a56d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3078052 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r--board/waddledoo/board.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/waddledoo/board.h b/board/waddledoo/board.h
index 0520551a33..bf253e65d4 100644
--- a/board/waddledoo/board.h
+++ b/board/waddledoo/board.h
@@ -26,6 +26,10 @@
/* EC console commands */
#define CONFIG_CMD_CHARGER_DUMP
+/* Remove default commands to free flash space */
+#undef CONFIG_CMD_ACCELSPOOF
+#undef CONFIG_CMD_BATTFAKE
+
/* Battery */
#define CONFIG_BATTERY_FUEL_GAUGE