diff options
author | Jameson Thies <jthies@google.com> | 2022-07-08 00:40:34 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-11 20:46:10 +0000 |
commit | 15e5211a4fddf5e472a8bc6688d2e4c5e0ee7dfc (patch) | |
tree | 9965b48fe6bde02084d4d2b15697ed83c57c4b37 | |
parent | dadbc645d10330e5584aa3f569add4c9f7e13a1f (diff) | |
download | chrome-ec-15e5211a4fddf5e472a8bc6688d2e4c5e0ee7dfc.tar.gz |
volteer: Free up flash space
Volteer is currently running out of flash space which prevents new
changes from landing in ToT. This CL will change remove PPC logging and
the history command from the EC to save space which saves about 1,450
bytes
Before
96 bytes in flash and 21600 bytes in RAM still available on volteer RO
204 bytes in flash and 21600 bytes in RAM still available on volteer RW
After
1568 bytes in flash and 22272 bytes in RAM still available on volteer RO
1736 bytes in flash and 22272 bytes in RAM still available on volteer RW
BRANCH=None
BUG=b:238327657
TEST=make try_build_boards
Signed-off-by: Jameson Thies <jthies@google.com>
Change-Id: I135ad8983eccf953e707182f63e60bdcbd47b7d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3751555
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
-rw-r--r-- | board/volteer/board.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/volteer/board.h b/board/volteer/board.h index 473b3ad2eb..181e3c0667 100644 --- a/board/volteer/board.h +++ b/board/volteer/board.h @@ -98,6 +98,9 @@ #define CONFIG_USBC_PPC_SYV682X /* USBC port C1 */ #define CONFIG_USB_PD_FRS_PPC +/* Disable PPC logging to reduce EC image size */ +#undef CONFIG_USBC_PPC_LOGGING + /* BC 1.2 */ /* Volume Button feature */ @@ -176,6 +179,7 @@ #undef CONFIG_CMD_REGULATOR #undef CONFIG_CMD_USB_PD_CABLE #undef CONFIG_CONSOLE_CMDHELP +#undef CONFIG_CONSOLE_HISTORY /* Disable volume button in ectool */ #undef CONFIG_HOSTCMD_BUTTON |