ARM: renesas: Enable LTO on R-Car3 Falcon

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>
This commit is contained in:
Marek Vasut 2022-12-22 22:13:15 +01:00
parent 735e6babbc
commit 81616cec1e

View File

@ -16,6 +16,7 @@ CONFIG_SYS_CLK_FREQ=16666666
# CONFIG_PSCI_RESET is not set # CONFIG_PSCI_RESET is not set
CONFIG_ARMV8_PSCI=y CONFIG_ARMV8_PSCI=y
CONFIG_SYS_LOAD_ADDR=0x58000000 CONFIG_SYS_LOAD_ADDR=0x58000000
CONFIG_LTO=y
CONFIG_REMAKE_ELF=y CONFIG_REMAKE_ELF=y
CONFIG_SYS_MONITOR_LEN=1048576 CONFIG_SYS_MONITOR_LEN=1048576
CONFIG_FIT=y CONFIG_FIT=y