]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: imx: Enable LTO for DH electronics i.MX8M Plus DHCOM
authorMarek Vasut <marex@denx.de>
Sat, 11 Feb 2023 21:48:24 +0000 (22:48 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 30 Mar 2023 06:40:27 +0000 (08:40 +0200)
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 <marex@denx.de>
configs/imx8mp_dhcom_pdk2_defconfig

index 6452c219e2a25b3b310637728bc79836f8b4beaf..c065706707ce1842b34df4c688445a5a69afa4e8 100644 (file)
@@ -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