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

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

index 8cf2921327510bae774b1d782b3b2a67548bc079..28fef6f16a22a8cb63ef588a0a1e24900e4a5b29 100644 (file)
@@ -16,6 +16,7 @@ CONFIG_SYS_CLK_FREQ=16666666
 # CONFIG_PSCI_RESET is not set
 CONFIG_ARMV8_PSCI=y
 CONFIG_SYS_LOAD_ADDR=0x58000000
+CONFIG_LTO=y
 CONFIG_REMAKE_ELF=y
 CONFIG_SYS_MONITOR_LEN=1048576
 CONFIG_FIT=y