]> git.baikalelectronics.ru Git - uboot.git/commitdiff
smartweb: Enable LTO
authorTom Rini <trini@konsulko.com>
Tue, 28 Mar 2023 18:54:50 +0000 (14:54 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 4 Apr 2023 16:24:29 +0000 (12:24 -0400)
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@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
configs/smartweb_defconfig

index 4cbdab0b37d88061e356885f43cf982a5a90cb1e..836e0c002dee8d46365dd0cd3cd42786978c2b92 100644 (file)
@@ -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