From: Marek Vasut Date: Sun, 11 Dec 2022 20:16:11 +0000 (+0100) Subject: ARM: imx: Enable LTO for Data Modul i.MX8M Mini eDM SBC X-Git-Tag: v2025.01-rc5-pxa1908~1126^2~57 X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=868f754db86120bf3baf9697f017e740a98b2cf1;p=u-boot.git ARM: imx: Enable LTO for Data Modul i.MX8M Mini eDM SBC Enable LTO to reduce the size of SPL. Signed-off-by: Marek Vasut --- diff --git a/configs/imx8mm_data_modul_edm_sbc_defconfig b/configs/imx8mm_data_modul_edm_sbc_defconfig index 3ccd26817b..d9821885c3 100644 --- a/configs/imx8mm_data_modul_edm_sbc_defconfig +++ b/configs/imx8mm_data_modul_edm_sbc_defconfig @@ -24,6 +24,7 @@ CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y CONFIG_ENV_OFFSET_REDUND=0xFFFC0000 CONFIG_IMX_BOOTAUX=y CONFIG_SYS_LOAD_ADDR=0x60000000 +CONFIG_LTO=y CONFIG_ENV_VARS_UBOOT_CONFIG=y CONFIG_SYS_MONITOR_LEN=1048576 CONFIG_FIT=y