summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2023-03-08 13:18:57 -0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-09 02:23:56 +0000
commitbb16ab966fd3dfa66a69196519841d8c842e0437 (patch)
treec1c5beb5bc9edb316e91a934e4b5495ed57b4fbf
parent6853da0d50db5d4fcde406bb4f9e8a8882d26aa3 (diff)
downloadchrome-ec-bb16ab966fd3dfa66a69196519841d8c842e0437.tar.gz
rex: Enable LTO
Enable link time optimization. This reduces the flash image size by about 4% (11 KB). LTO is enabled almost universally on other boards. BUG=b:240434243 BRANCH=none TEST=booted on rex Change-Id: I3aafe8ed6d52f7c5b10ca6e1fceb393ae7f6bde4 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4322378 Reviewed-by: Scott Collyer <scollyer@chromium.org>
-rw-r--r--zephyr/program/rex/program.conf1
1 files changed, 0 insertions, 1 deletions
diff --git a/zephyr/program/rex/program.conf b/zephyr/program/rex/program.conf
index 044124a73f..661ca515f0 100644
--- a/zephyr/program/rex/program.conf
+++ b/zephyr/program/rex/program.conf
@@ -7,7 +7,6 @@ CONFIG_CROS_EC=y
CONFIG_SHIMMED_TASKS=y
CONFIG_SYSCON=y
# Enable during development
-CONFIG_LTO=n
CONFIG_PLATFORM_EC_SYSTEM_UNLOCKED=y
CONFIG_PLATFORM_EC_BOARD_RESET_AFTER_POWER_ON=y