diff options
author | Abe Levkoy <alevkoy@chromium.org> | 2022-02-14 12:34:07 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-02-15 23:04:26 +0000 |
commit | 3abadc3e227dea8c1c53d867db911690b2dd251b (patch) | |
tree | 8a5f1fbfe4edb467927bbf811e9c0b6571c4bfe1 | |
parent | 5a9943eb2ff6fb8308ecf069f723f5c37f10c474 (diff) | |
download | chrome-ec-3abadc3e227dea8c1c53d867db911690b2dd251b.tar.gz |
volteer: Disable several console commands
Save ~1084 bytes of flash space. Some of these config items were not
taking up any flash space presently, but disable them explicitly to
avoid looking them up next time volteer runs out of space.
BUG=none
TEST=make buildall
BRANCH=none
Cq-Depend: chromium:3465516
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: Ic15fd4ddc8d36ac50499920a058ec61babea9f3c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3459739
Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r-- | board/volteer/board.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/board/volteer/board.h b/board/volteer/board.h index 5b4c835a6f..5d820a0db0 100644 --- a/board/volteer/board.h +++ b/board/volteer/board.h @@ -156,10 +156,20 @@ /* 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_BATTFAKE #undef CONFIG_CMD_BUTTON +#undef CONFIG_CMD_CBI +#undef CONFIG_CMD_CHARGER +#undef CONFIG_CMD_CHARGE_SUPPLIER_INFO +#undef CONFIG_CMD_IDLE_STATS +#undef CONFIG_CMD_INA +#undef CONFIG_CMD_MFALLOW +#undef CONFIG_CMD_MMAPINFO +#undef CONFIG_CMD_POWERINDEBUG +#undef CONFIG_CMD_PWR_AVG +#undef CONFIG_CMD_REGULATOR +#undef CONFIG_CMD_USB_PD_CABLE #undef CONFIG_CONSOLE_CMDHELP /* Disable volume button in ectool */ |