From: Heinrich Schuchardt Date: Mon, 11 Apr 2022 09:45:29 +0000 (+0200) Subject: ARM: renesas: reduce rcar3_salvator-x image size X-Git-Tag: v2025.01-rc5-pxa1908~1458^2~21 X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-favicon.png?a=commitdiff_plain;h=ca161222e5d9da4f930c2a248ed0829d23900e50;p=u-boot.git ARM: renesas: reduce rcar3_salvator-x image size rcar3_salvator-x u-boot.img is very close to the 0x100000 size limit. Enable linked time optimization (LTO). Signed-off-by: Heinrich Schuchardt --- diff --git a/configs/rcar3_salvator-x_defconfig b/configs/rcar3_salvator-x_defconfig index b6b63829fe..5df295980b 100644 --- a/configs/rcar3_salvator-x_defconfig +++ b/configs/rcar3_salvator-x_defconfig @@ -10,6 +10,7 @@ CONFIG_SPL_TEXT_BASE=0xe6338000 CONFIG_RCAR_GEN3=y CONFIG_TARGET_SALVATOR_X=y CONFIG_SYS_LOAD_ADDR=0x58000000 +CONFIG_LTO=y CONFIG_REMAKE_ELF=y CONFIG_FIT=y CONFIG_SUPPORT_RAW_INITRD=y