]> git.dujemihanovic.xyz Git - u-boot.git/commit
configs: sama5d2: enable CONFIG_LTO
authorEugen Hristev <eugen.hristev@collabora.com>
Mon, 24 Jul 2023 10:05:13 +0000 (13:05 +0300)
committerEugen Hristev <eugen.hristev@collabora.com>
Mon, 24 Jul 2023 11:19:33 +0000 (14:19 +0300)
commitf5b9587449f7f240da58c1cf8468d8103386ec8c
tree79ddcfc5cd578dc32f5477ae8d4600d3d3cbc6ca
parent2ac1f5982ed0a1cc8ca4b3dca86db87ad03323b1
configs: sama5d2: enable CONFIG_LTO

arm-none-linux-gnueabihf-ld.bfd: u-boot-spl section `__u_boot_list' will not fit in region `.sram'
arm-none-linux-gnueabihf-ld.bfd: region `.sram' overflowed by 100 bytes

SPL is at limit so to stop seeing above error in built, enable
link time optimizations CONFIG_LTO.

Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
Tested-by: Mihai Sain <mihai.sain@microchip.com>
configs/sama5d2_xplained_emmc_defconfig
configs/sama5d2_xplained_mmc_defconfig
configs/sama5d2_xplained_qspiflash_defconfig
configs/sama5d2_xplained_spiflash_defconfig