aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-03-28 13:25:19 -0400
committerTom Rini <trini@konsulko.com>2023-03-28 13:26:06 -0400
commitdf543a2a7a9be8d0dcd8b90268c4fd557c45ef1a (patch)
treee58ee575727cc071f93dbbe15f3cc96b78b88c3f
parent953a96d23036132be37a5d2071e580ad4fe3d4c9 (diff)
downloadu-boot-df543a2a7a9be8d0dcd8b90268c4fd557c45ef1a.zip
u-boot-df543a2a7a9be8d0dcd8b90268c4fd557c45ef1a.tar.gz
u-boot-df543a2a7a9be8d0dcd8b90268c4fd557c45ef1a.tar.bz2
smartweb: Enable LTO
In order to prepare for slight size growth due to reworking linker list support, enable LTO here to save more space again. Signed-off-by: Tom Rini <trini@konsulko.com> --- Cc: Heiko Schocher <hs@denx.de>
-rw-r--r--configs/smartweb_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/smartweb_defconfig b/configs/smartweb_defconfig
index 4cbdab0..836e0c0 100644
--- a/configs/smartweb_defconfig
+++ b/configs/smartweb_defconfig
@@ -24,6 +24,7 @@ CONFIG_SPL_SYS_MALLOC_F_LEN=0x400
CONFIG_SPL=y
CONFIG_ENV_OFFSET_REDUND=0x180000
CONFIG_SYS_LOAD_ADDR=0x22000000
+CONFIG_LTO=y
CONFIG_FIT=y
CONFIG_NAND_BOOT=y
CONFIG_BOOTDELAY=3