diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2018-01-04 09:19:29 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-01-04 21:52:05 -0800 |
commit | 3fecdbdcf902770036b14b93ca19a5af181c9582 (patch) | |
tree | d46758480a14373cfb6b8be3a8e782b1bf9da292 /board/chell | |
parent | f14879eae1c5afd899e63f3a459a8c06fc3da21d (diff) | |
download | chrome-ec-3fecdbdcf902770036b14b93ca19a5af181c9582.tar.gz |
chell: Enable CONFIG_LTO
Saves about 4K of flash space. Note that LTO has been enabled
on glados for a long time, so hopefully this is safe.
build/chell/RO/ec.RO.flat shrank by 4096 bytes: (106200 to 102104)
build/chell/RW/ec.RW.flat shrank by 4264 bytes: (105988 to 101724)
BRANCH=none
BUG=chromium:798914
TEST=Flash both chell and chell_pd, system boots to OS, keyboard
works, charging works.
Change-Id: Id97f2e73959ced16d6579f6c05f3ce4cd21f4062
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/848594
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board/chell')
-rw-r--r-- | board/chell/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/chell/board.h b/board/chell/board.h index 7ab457942a..f4c1de0ab9 100644 --- a/board/chell/board.h +++ b/board/chell/board.h @@ -53,6 +53,7 @@ #define CONFIG_LED_COMMON #define CONFIG_LID_SWITCH #define CONFIG_LOW_POWER_IDLE +#define CONFIG_LTO #define CONFIG_POWER_BUTTON #define CONFIG_POWER_BUTTON_X86 #define CONFIG_POWER_COMMON |