ARM: renesas: Enable LTO on R-Car3 Eagle

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>
This commit is contained in:
Marek Vasut 2022-12-22 22:13:11 +01:00
parent b78d4f270c
commit 68e1926668

View File

@ -14,6 +14,7 @@ CONFIG_SPL_TEXT_BASE=0xe6318000
CONFIG_RCAR_GEN3=y CONFIG_RCAR_GEN3=y
CONFIG_TARGET_EAGLE=y CONFIG_TARGET_EAGLE=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