hatch: enable link time optimization

The Hatch platforms did not have CONFIG_LTO defined. This option saves
over 8 KiB of flash space in RO and RW each.

BUG=b:140507221
BRANCH=none
TEST=make buildall -j
TEST=Verify Hatch platform boots

Change-Id: I5f2a4590cfd5522be899795dac70a93fe6889f4e
Signed-off-by: Keith Short <keithshort@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1783534
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
Keith Short 2019-09-04 13:52:27 -06:00 committed by Commit Bot
parent e1e81b2b8b
commit 3385eb0998
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@
#define CONFIG_DPTF
#define CONFIG_HIBERNATE_PSL
#define CONFIG_LED_ONOFF_STATES
#define CONFIG_LTO
#define CONFIG_PWM
#define CONFIG_VBOOT_HASH
#define CONFIG_VSTORE