]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
socfpga: vining: Enable LTO
authorTom Rini <trini@konsulko.com>
Wed, 29 Apr 2026 23:07:46 +0000 (17:07 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 29 Apr 2026 23:09:13 +0000 (17:09 -0600)
This platform is often close to the binary size limit and minor changes
lead to exceeding image size. Enable LTO for this platform.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
Cc: Marek Vasut <marex@nabladev.com>
Cc: Tien Fong Chee <tien.fong.chee@altera.com>
configs/socfpga_vining_fpga_defconfig

index f698b86e59faeba5820aba196af8682327c3d92a..a280869e20850fc218fc2519a6a4b5a1b2a9c526 100644 (file)
@@ -16,6 +16,7 @@ CONFIG_SPL_TEXT_BASE=0xFFFF0000
 CONFIG_SYS_BOOTM_LEN=0x2000000
 CONFIG_TARGET_SOCFPGA_SOFTING_VINING_FPGA=y
 CONFIG_ENV_OFFSET_REDUND=0x110000
+CONFIG_LTO=y
 CONFIG_TIMESTAMP=y
 CONFIG_FIT=y
 CONFIG_DISTRO_DEFAULTS=y