arm: am33xx: Default to enabling LTO
Subsystems (3)
PATCH 1/1 arm: am33xx: Default to enabling LTO
These platforms now sometimes trip up the size limits on SPL, when adding bug fixes or similar to the code. Enabling LTO gives us more size back without sacrificing functionality. Run-time tested on a Beaglebone Black.
Signed-off-by Tom Rini <[email protected]>
--- arch/arm/mach-omap2/Kconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/Kconfig +1 -0
@@ -101,6 +101,7 @@ config AM33XX select ARM_CORTEX_A8_CVE_2017_5715 select DM_EVENT select SPECIFY_CONSOLE_INDEX + imply LTO imply NAND_OMAP_ELM imply NAND_OMAP_GPMC imply SKIP_LOWLEVEL_INIT
Signature · 1 line
2.43.0
Quoted 6 lines · Tom Rini
These platforms now sometimes trip up the size limits on SPL, when adding bug fixes or similar to the code. Enabling LTO gives us more size back without sacrificing functionality. Run-time tested on a Beaglebone Black.
Applied to u-boot/next, thanks!
[1/1] arm: am33xx: Default to enabling LTO
commit: 69af8117d21e1d8e52792cd08b2d895194af9d18
Signature · 1 line
Tom