From: Marek Vasut Date: Tue, 7 Mar 2023 07:51:04 +0000 (+0100) Subject: ARM: imx: Enable LTO for DH electronics i.MX6 DHCOM X-Git-Tag: baikal/mips/sdk6.2~4^2~3^2~209^2~1 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=7de476b54d8267187970726e750c059ac24e126b;p=uboot.git ARM: imx: Enable LTO for DH electronics i.MX6 DHCOM Enable LTO to reduce the size of SPL, which with SPL SDP support may be close to the limit. Signed-off-by: Marek Vasut --- diff --git a/configs/dh_imx6_defconfig b/configs/dh_imx6_defconfig index 29b07821bf..fa2d7f3d09 100644 --- a/configs/dh_imx6_defconfig +++ b/configs/dh_imx6_defconfig @@ -28,6 +28,7 @@ CONFIG_SPL_SPI=y CONFIG_AHCI=y CONFIG_SYS_MEMTEST_START=0x10000000 CONFIG_SYS_MEMTEST_END=0x20000000 +CONFIG_LTO=y CONFIG_SYS_MONITOR_LEN=409600 CONFIG_FIT=y CONFIG_FIT_VERBOSE=y