summaryrefslogtreecommitdiff
path: root/board/zinger/board.h
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2015-05-14 12:43:24 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-05-19 02:46:31 +0000
commitaab035d808dd90fc913adb35098602808b2b1c07 (patch)
treec63780cff30614b521e5d0201434d49fafad9d85 /board/zinger/board.h
parent2650ff3d70c9933e4c3dcd1401ca66b4426def4a (diff)
downloadchrome-ec-aab035d808dd90fc913adb35098602808b2b1c07.tar.gz
zinger: enable LTO
Enable Link Time Optimizations to save flash space Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=none TEST=run on zinger ... Change-Id: Ie7837abd96d048b8d24dd379cf8ce4dcea1c664d Reviewed-on: https://chromium-review.googlesource.com/271292 Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/zinger/board.h')
-rw-r--r--board/zinger/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/zinger/board.h b/board/zinger/board.h
index 64a4a22606..bd9c472368 100644
--- a/board/zinger/board.h
+++ b/board/zinger/board.h
@@ -46,6 +46,7 @@
#define CONFIG_HIBERNATE_WAKEUP_PINS STM32_PWR_CSR_EWUP1
#define CONFIG_HW_CRC
#undef CONFIG_LID_SWITCH
+#define CONFIG_LTO
#define CONFIG_RSA
#define CONFIG_SHA256
#undef CONFIG_TASK_PROFILING