summaryrefslogtreecommitdiff
path: root/baseboard/hatch
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2019-09-04 13:52:27 -0600
committerCommit Bot <commit-bot@chromium.org>2019-09-16 19:05:03 +0000
commit3385eb0998bfa5f30230953cfc7d2311023707b9 (patch)
tree47676455478f20a43d113defca32828099cee72f /baseboard/hatch
parente1e81b2b8bbd0049f2472bb7f7c5ce1e3c9864b7 (diff)
downloadchrome-ec-3385eb0998bfa5f30230953cfc7d2311023707b9.tar.gz
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>
Diffstat (limited to 'baseboard/hatch')
-rw-r--r--baseboard/hatch/baseboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/baseboard/hatch/baseboard.h b/baseboard/hatch/baseboard.h
index a7f352e736..5fd22261b0 100644
--- a/baseboard/hatch/baseboard.h
+++ b/baseboard/hatch/baseboard.h
@@ -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