]> git.baikalelectronics.ru Git - uboot.git/commitdiff
ARM: imx: Enable LTO for Data Modul i.MX8M Mini eDM SBC
authorMarek Vasut <marex@denx.de>
Sun, 11 Dec 2022 20:16:11 +0000 (21:16 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 30 Jan 2023 22:23:01 +0000 (23:23 +0100)
Enable LTO to reduce the size of SPL.

Signed-off-by: Marek Vasut <marex@denx.de>
configs/imx8mm_data_modul_edm_sbc_defconfig

index 3ccd26817ba123b9c7fbcf0b5e0a65829f2d61ec..d9821885c3a9548e196568d8b0509826123cd26e 100644 (file)
@@ -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