summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2021-09-17 14:14:18 -0600
committerCommit Bot <commit-bot@chromium.org>2021-09-20 19:38:23 +0000
commit5e50d8a3f3ee4ae578707f4df99051a4051c0b86 (patch)
treed524e9235df0737018826bff29e9abdf873fe056
parent6db5f2a31f65075faf222585be13cf1e88e5cd55 (diff)
downloadchrome-ec-5e50d8a3f3ee4ae578707f4df99051a4051c0b86.tar.gz
volteer: Disable apthrottle console command
Reduce flash usage by 128 bytes. BUG=none TEST=make buildall BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I7d026cbb332d6e84f8d6a3275f7c43b902c6b963 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3171333 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r--board/volteer/board.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/board/volteer/board.h b/board/volteer/board.h
index 0befb39d62..bd527510f2 100644
--- a/board/volteer/board.h
+++ b/board/volteer/board.h
@@ -164,15 +164,14 @@
#define CONFIG_DEBUG_ASSERT_BRIEF
-/* Disable volume button command in EC console */
-#undef CONFIG_CMD_BUTTON
+/* Disable console commands to help save space */
+#undef CONFIG_CMD_APTHROTTLE
+#undef CONFIG_CMD_BUTTON
+#undef CONFIG_CONSOLE_CMDHELP
/* Disable volume button in ectool */
#undef CONFIG_HOSTCMD_BUTTON
-/* Disable console command help to save space */
-#undef CONFIG_CONSOLE_CMDHELP
-
#ifndef __ASSEMBLER__
#include "gpio_signal.h"