From b78d4f270ce22a18c7893ace52b81c7d0e30f9bd Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Thu, 22 Dec 2022 22:13:10 +0100 Subject: [PATCH] ARM: renesas: Enable LTO on R-Car3 ULCB Enable LTO (link time optimization) to improve optimization and reduce code size by cca. 31 kiB. Signed-off-by: Marek Vasut --- configs/rcar3_ulcb_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/rcar3_ulcb_defconfig b/configs/rcar3_ulcb_defconfig index 43361a286f..076bc2d335 100644 --- a/configs/rcar3_ulcb_defconfig +++ b/configs/rcar3_ulcb_defconfig @@ -13,6 +13,7 @@ CONFIG_SPL_TEXT_BASE=0xe6338000 CONFIG_RCAR_GEN3=y CONFIG_TARGET_ULCB=y CONFIG_SYS_LOAD_ADDR=0x58000000 +CONFIG_LTO=y CONFIG_REMAKE_ELF=y CONFIG_SYS_MONITOR_LEN=1048576 CONFIG_FIT=y -- 2.34.1