This saves about 12 kBytes image size and helps to stay within the size limit.
Suggested-by: Tom Rini <tr...@konsulko.com> Signed-off-by: Soeren Moch <sm...@web.de> --- Cc: Stefano Babic <sba...@denx.de> Cc: Fabio Estevam <feste...@gmail.com> Cc: Simon Glass <s...@chromium.org> Cc: u-boot@lists.denx.de Unfortunately we already are at the size limit for U-Boot v2022.04-rc3. Maybe Tom can pick up this patch directly, otherwise it's also fine for me to take this through the imx tree. --- configs/tbs2910_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig index e1278f2e70..8a33160564 100644 --- a/configs/tbs2910_defconfig +++ b/configs/tbs2910_defconfig @@ -14,6 +14,7 @@ CONFIG_DEFAULT_DEVICE_TREE="imx6q-tbs2910" CONFIG_PRE_CON_BUF_ADDR=0x7c000000 CONFIG_CMD_HDMIDETECT=y CONFIG_AHCI=y +CONFIG_LTO=y CONFIG_SUPPORT_RAW_INITRD=y CONFIG_BOOTDELAY=3 CONFIG_USE_BOOTCOMMAND=y -- 2.25.1