diff options
author | Tom Hughes <tomhughes@chromium.org> | 2022-07-13 15:06:55 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-14 17:00:28 +0000 |
commit | a43baabc0bda3c1928fbdd075ccb323b75fb0f4b (patch) | |
tree | 36b14d548b52edf51c297f5111fd5a46834787f9 /baseboard | |
parent | 0185e458d5371d38800fc17e1fa9297077f58e2c (diff) | |
download | chrome-ec-a43baabc0bda3c1928fbdd075ccb323b75fb0f4b.tar.gz |
baseboard/octopus: Enable LTO
Before LTO (dood):
RO: 360 bytes in flash and 30400 bytes in RAM still available
RW: 404 bytes in flash and 30400 bytes in RAM still available
After LTO (dood):
RO: 12000 bytes in flash and 30944 bytes in RAM still available
RW: 12116 bytes in flash and 30944 bytes in RAM still available
BRANCH=none
BUG=b:238433667
TEST=make buildall
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: If66fd043259864ffa05d73a758a78e3ca2184334
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3761358
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r-- | baseboard/octopus/baseboard.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/baseboard/octopus/baseboard.h b/baseboard/octopus/baseboard.h index d29ae38170..0a54f0efac 100644 --- a/baseboard/octopus/baseboard.h +++ b/baseboard/octopus/baseboard.h @@ -12,6 +12,8 @@ * EC Config */ +#define CONFIG_LTO + /* * By default, enable all console messages excepted HC, ACPI and event: * The sensor stack is generating a lot of activity. |