diff options
author | Tom Hughes <tomhughes@chromium.org> | 2022-07-13 15:06:46 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-14 17:00:16 +0000 |
commit | 0185e458d5371d38800fc17e1fa9297077f58e2c (patch) | |
tree | 1e63470dd51012ddd324e6773b806dfe4efae544 /baseboard | |
parent | 28ba9af251f448140f2e6cc224b2566052f326e8 (diff) | |
download | chrome-ec-0185e458d5371d38800fc17e1fa9297077f58e2c.tar.gz |
baseboard/dedede: Enable LTO
Before LTO (corori2):
RO: 224 bytes in flash and 24704 bytes in RAM still available
RW: 404 bytes in flash and 24704 bytes in RAM still available
After LTO (corori2):
RO: 8160 bytes in flash and 24896 bytes in RAM still available
RW: 8296 bytes in flash and 24896 bytes in RAM still available
BRANCH=none
BUG=b:238433667
TEST=make buildall
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I8a5e8118eefcb7b117ebefea5f15105bf4068fd5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3761357
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r-- | baseboard/dedede/baseboard.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/baseboard/dedede/baseboard.h b/baseboard/dedede/baseboard.h index dff4cd5e7f..5c267f08bc 100644 --- a/baseboard/dedede/baseboard.h +++ b/baseboard/dedede/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 HC, ACPI and event: * The sensor stack is generating a lot of activity. |