From ca161222e5d9da4f930c2a248ed0829d23900e50 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Mon, 11 Apr 2022 11:45:29 +0200 Subject: [PATCH] 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 --- configs/rcar3_salvator-x_defconfig | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5