From: Marek Vasut Date: Thu, 22 Dec 2022 21:13:11 +0000 (+0100) Subject: ARM: renesas: Enable LTO on R-Car3 Eagle X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=68e1926668c8df03848516ae33f8107f4b43ebe6;p=u-boot.git 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 --- diff --git a/configs/r8a77970_eagle_defconfig b/configs/r8a77970_eagle_defconfig index fac4ab66f7..62192ad389 100644 --- a/configs/r8a77970_eagle_defconfig +++ b/configs/r8a77970_eagle_defconfig @@ -14,6 +14,7 @@ CONFIG_SPL_TEXT_BASE=0xe6318000 CONFIG_RCAR_GEN3=y CONFIG_TARGET_EAGLE=y CONFIG_SYS_LOAD_ADDR=0x58000000 +CONFIG_LTO=y CONFIG_REMAKE_ELF=y CONFIG_SYS_MONITOR_LEN=1048576 CONFIG_FIT=y