]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: tbs2910: Enable Link Time Optimizations in defconfig
authorSoeren Moch <smoch@web.de>
Mon, 14 Mar 2022 08:26:25 +0000 (09:26 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 14 Mar 2022 16:44:51 +0000 (12:44 -0400)
This saves about 12 kBytes image size and helps to stay within the
size limit.

Suggested-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Soeren Moch <smoch@web.de>
configs/tbs2910_defconfig

index e1278f2e70a536d060d13b433711c7e9a911c8de..8a3316056408de109d1552162fd684ea0f665995 100644 (file)
@@ -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