summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2020-12-29 15:13:47 +0800
committerCommit Bot <commit-bot@chromium.org>2020-12-30 04:31:41 +0000
commit10738dbd195361177eb079143e256278b6b4c558 (patch)
treefeb30c0db5ec2746fef3b69c2e11a3959d65689f
parent3daa2b150e256a0a9bf50a070afbc9d6cb2fa42c (diff)
downloadchrome-ec-10738dbd195361177eb079143e256278b6b4c558.tar.gz
asurada: Enable LTO
Saves space and, in particular, makes division by zero more efficient. BRANCH=none BUG=b:173969773 TEST=build and boot asurada Change-Id: Ieb01c9c72987e7d05f6942fb95b71d53c25cc344 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2605038 Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
-rw-r--r--board/asurada/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/asurada/board.h b/board/asurada/board.h
index b59d29db78..ef266658d1 100644
--- a/board/asurada/board.h
+++ b/board/asurada/board.h
@@ -17,6 +17,7 @@
/* Optional features */
#define CONFIG_SYSTEM_UNLOCKED
+#define CONFIG_LTO
#define CONFIG_BOARD_VERSION_CUSTOM
#define CONFIG_EXTPOWER_GPIO
/*