summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-04-29 17:07:46 -0600
committerTom Rini <[email protected]>2026-04-29 17:09:13 -0600
commit13b3502157eaa194226c825aadaf31661ba5b96a (patch)
treeddfece564356b90c5cd073a8aae70c4b8b024746
parent4433253ecf2041f9362a763bb6cb79960921ac7e (diff)
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. Signed-off-by: Tom Rini <[email protected]> --- Cc: Marek Vasut <[email protected]> Cc: Tien Fong Chee <[email protected]>
-rw-r--r--configs/socfpga_vining_fpga_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/socfpga_vining_fpga_defconfig b/configs/socfpga_vining_fpga_defconfig
index f698b86e59f..a280869e208 100644
--- a/configs/socfpga_vining_fpga_defconfig
+++ b/configs/socfpga_vining_fpga_defconfig
@@ -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