From: Marek Vasut Date: Sat, 11 Feb 2023 21:48:24 +0000 (+0100) Subject: ARM: imx: Enable LTO for DH electronics i.MX8M Plus DHCOM X-Git-Tag: baikal/mips/sdk6.2~4^2~3^2~175^2~16^2~49 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=194c88c13322cd7ac7ba9aa64df791c7c1a87500;p=uboot.git ARM: imx: Enable LTO for DH electronics i.MX8M Plus DHCOM Enable LTO to reduce the size of SPL, which with multiple DRAM calibration tables may be close to the limit. Signed-off-by: Marek Vasut --- diff --git a/configs/imx8mp_dhcom_pdk2_defconfig b/configs/imx8mp_dhcom_pdk2_defconfig index 6452c219e2..c065706707 100644 --- a/configs/imx8mp_dhcom_pdk2_defconfig +++ b/configs/imx8mp_dhcom_pdk2_defconfig @@ -31,6 +31,7 @@ CONFIG_IMX_BOOTAUX=y CONFIG_SPL_IMX_ROMAPI_LOADADDR=0x48000000 CONFIG_SYS_LOAD_ADDR=0x50000000 CONFIG_DEBUG_UART=y +CONFIG_LTO=y CONFIG_ENV_VARS_UBOOT_CONFIG=y CONFIG_SYS_MONITOR_LEN=1048576 CONFIG_FIT=y