]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: imx: Enable LTO for DH electronics i.MX6 DHCOM
authorMarek Vasut <marex@denx.de>
Tue, 7 Mar 2023 07:51:04 +0000 (08:51 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 4 Apr 2023 07:37:05 +0000 (09:37 +0200)
Enable LTO to reduce the size of SPL, which with SPL SDP
support may be close to the limit.

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

index 29b07821bff5f2329e997f143c586ad710fbc675..fa2d7f3d096436fa412a938ee48a46c8b296b572 100644 (file)
@@ -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