Skip to contentSkip to conversation

socfpga: vining: Enable LTO

PATCH In review Tom Rini 1 participant 2 messages Apr 30

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 socfpga: vining: Enable LTO

This platform is often close to the binary size limit and minor changes lead to exceeding image size. Enable LTO for this platform.

---
Cc: Marek Vasut <[email protected]>
Cc: Tien Fong Chee <[email protected]>

---
 configs/socfpga_vining_fpga_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/socfpga_vining_fpga_defconfig +1 -0
index f698b86e59fa..a280869e2085 100644
@@ -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
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 4 lines · Tom Rini

This platform is often close to the binary size limit and minor changes lead to exceeding image size. Enable LTO for this platform.

Applied to u-boot/master, thanks!

[1/1] socfpga: vining: Enable LTO

      commit: 13b3502157eaa194226c825aadaf31661ba5b96a
Signature · 1 line
Tom