diff options
author | Diana Z <dzigterman@chromium.org> | 2021-07-23 10:32:30 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-25 21:13:58 +0000 |
commit | 420abf3b27f5fd013296c7fef9622cc694050c0f (patch) | |
tree | 83d574430e24fb8f5bb94552c8b33693e068bbee | |
parent | 916a778365dded01803340a554e83c0fea6c3802 (diff) | |
download | chrome-ec-420abf3b27f5fd013296c7fef9622cc694050c0f.tar.gz |
Mushu: Free up flash space
Mushu is down to 700 bytes of free flash on ToT, so remove some
commands in order to bring it up to almost 2k free.
BRANCH=None
BUG=None
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I17c9863208a1b26568a07f772c9431f6eaf633ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3048516
Reviewed-by: Wai-Hong Tam <waihong@google.com>
-rw-r--r-- | board/mushu/board.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/board/mushu/board.h b/board/mushu/board.h index e3d6114a5d..1bd58abbba 100644 --- a/board/mushu/board.h +++ b/board/mushu/board.h @@ -11,8 +11,11 @@ /* Baseboard features */ #include "baseboard.h" -/* Remove PRL state names to free flash space */ +/* Reduce flash usage */ #define CONFIG_USB_PD_DEBUG_LEVEL 2 +#undef CONFIG_CMD_ACCELSPOOF +#undef CONFIG_CMD_CHARGER_DUMP +#undef CONFIG_CMD_PPC_DUMP #define CONFIG_POWER_BUTTON #define CONFIG_KEYBOARD_PROTOCOL_8042 |