Decrease allowed binary size to fit lwip code.

Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>
---
 configs/socfpga_secu1_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/socfpga_secu1_defconfig b/configs/socfpga_secu1_defconfig
index b8052f1dee..4213941bcf 100644
--- a/configs/socfpga_secu1_defconfig
+++ b/configs/socfpga_secu1_defconfig
@@ -113,3 +113,4 @@ CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
 CONFIG_SYS_TIMER_COUNTS_DOWN=y
 # CONFIG_GZIP is not set
+CONFIG_LTO=y
-- 
2.30.2

Reply via email to