diff options
author | Keith Short <keithshort@chromium.org> | 2021-10-08 11:14:55 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-10-08 18:32:24 +0000 |
commit | 5be8ce3fb2c5a18de392637e5921359cad359fb3 (patch) | |
tree | b7fa20e136c916b605bf320249ebdd1adceecb33 /board/volteer/board.h | |
parent | 72569504411990a63611b6c35129442e022c83f9 (diff) | |
download | chrome-ec-5be8ce3fb2c5a18de392637e5921359cad359fb3.tar.gz |
volteer: disable console commands to save space
Disable adc, battfake, and cbi console commands to save space on
Volteer.
With this change:
volteer_apmodeentry: 2208 bytes flash available
volteer: 2272 bytes flash available
BUG=b:202460235
BRANCH=none
TEST=make volteer, make volteer_apmodeentry
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I1192cc1db797c2eba10268fc10f18710af99f91f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3213361
Commit-Queue: Diana Z <dzigterman@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/volteer/board.h')
-rw-r--r-- | board/volteer/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/volteer/board.h b/board/volteer/board.h index bd527510f2..d33f239319 100644 --- a/board/volteer/board.h +++ b/board/volteer/board.h @@ -165,6 +165,9 @@ #define CONFIG_DEBUG_ASSERT_BRIEF /* Disable console commands to help save space */ +#undef CONFIG_CMD_ADC +#undef CONFIG_CMD_BATTFAKE +#undef CONFIG_CMD_CBI #undef CONFIG_CMD_APTHROTTLE #undef CONFIG_CMD_BUTTON #undef CONFIG_CONSOLE_CMDHELP |