]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: renesas: Enable LTO on R-Car3 Condor
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 22 Dec 2022 21:13:12 +0000 (22:13 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 14 Jan 2023 13:10:11 +0000 (14:10 +0100)
Enable LTO (link time optimization) to improve optimization
and reduce code size by cca. 32 kiB.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
configs/r8a77980_condor_defconfig

index 1983c8a2db7f5b8adf45b44cfd723a4cf0d0720f..b316a998276916feba7f4bd2162cbc53ea34ba15 100644 (file)
@@ -14,6 +14,7 @@ CONFIG_SPL_TEXT_BASE=0xe6318000
 CONFIG_RCAR_GEN3=y
 CONFIG_TARGET_CONDOR=y
 CONFIG_SYS_LOAD_ADDR=0x58000000
+CONFIG_LTO=y
 CONFIG_REMAKE_ELF=y
 CONFIG_SYS_MONITOR_LEN=1048576
 CONFIG_FIT=y