diff options
author | Diana Z <dzigterman@chromium.org> | 2021-09-28 15:38:34 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-29 00:11:14 +0000 |
commit | f8d5372e7bda67b6c38ca6fdfaac9a898a7322d8 (patch) | |
tree | 2dca4d92ae80c9c0509ccf641c7006c6a38faff4 | |
parent | a4a2e61e61965d3c5f34fd8a3b03f696aa2582da (diff) | |
download | chrome-ec-f8d5372e7bda67b6c38ca6fdfaac9a898a7322d8.tar.gz |
Coachz: Enable CONFIG_LTO
Coachz is down to 100's of bytes of free flash on ToT. Enable LTO to
free up about 9k in flash space.
BRANCH=None
BUG=None
TEST=make -j BOARD=coachz shows 9k+ free flash
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ib49e4f41780c7df5ebdeabf91dface0fea2f0234
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3192234
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Commit-Queue: Wai-Hong Tam <waihong@google.com>
-rw-r--r-- | board/coachz/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/coachz/board.h b/board/coachz/board.h index 7779435777..d5e69aa4b2 100644 --- a/board/coachz/board.h +++ b/board/coachz/board.h @@ -24,6 +24,7 @@ #define CONFIG_FLASH_SIZE_BYTES (512 * 1024) /* 512KB internal spi flash */ /* Save some flash space */ +#define CONFIG_LTO #define CONFIG_USB_PD_DEBUG_LEVEL 2 #undef CONFIG_CMD_FLASHINFO #undef CONFIG_CMD_MMAPINFO |