diff options
author | Tom Hughes <tomhughes@chromium.org> | 2022-10-13 13:09:32 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-10-14 21:52:30 +0000 |
commit | 79c710c708205c89a6bd485f424e949273ccc4bf (patch) | |
tree | f451f30e55659cd09ca287ac1b3f7a6338ba9261 | |
parent | 8f48250c7e82e6d64119a8efed4f79ac40d381c4 (diff) | |
download | chrome-ec-79c710c708205c89a6bd485f424e949273ccc4bf.tar.gz |
baseboard/trogdor: Enable LTO
Before (homestar):
RO: 5376 bytes in flash and 28448 bytes in RAM still available
RW: 5536 bytes in flash and 28448 bytes in RAM still available
After (homestar):
RO: 16272 bytes in flash and 28832 bytes in RAM still available
RW: 16428 bytes in flash and 28832 bytes in RAM still available
BRANCH=none
BUG=b:172020503
TEST=make buildall
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I48613449cab4977c59a47d98255e0ab683a46fbf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3952909
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
-rw-r--r-- | baseboard/trogdor/baseboard.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/baseboard/trogdor/baseboard.h b/baseboard/trogdor/baseboard.h index 63813c89a0..2dedf8f330 100644 --- a/baseboard/trogdor/baseboard.h +++ b/baseboard/trogdor/baseboard.h @@ -8,6 +8,8 @@ #ifndef __CROS_EC_BASEBOARD_H #define __CROS_EC_BASEBOARD_H +#define CONFIG_LTO + /* * By default, enable all console messages excepted event and HC: * The sensor stack is generating a lot of activity. |