[PATCH 1/2] smartweb: Enable LTO

Tom Rini trini at konsulko.com
Tue Mar 28 20:54:50 CEST 2023


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 at konsulko.com>
---
Cc: Heiko Schocher <hs at denx.de>
---
 configs/smartweb_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/smartweb_defconfig b/configs/smartweb_defconfig
index 4cbdab0b37d8..836e0c002dee 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
-- 
2.34.1



More information about the U-Boot mailing list