From: Marek Vasut Date: Thu, 22 Dec 2022 21:13:15 +0000 (+0100) Subject: ARM: renesas: Enable LTO on R-Car3 Falcon X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=81616cec1eb727464b96295db1a469490ba68822;p=u-boot.git ARM: renesas: Enable LTO on R-Car3 Falcon Enable LTO (link time optimization) to improve optimization and reduce code size by cca. 30 kiB. Signed-off-by: Marek Vasut --- diff --git a/configs/r8a779a0_falcon_defconfig b/configs/r8a779a0_falcon_defconfig index 8cf2921327..28fef6f16a 100644 --- a/configs/r8a779a0_falcon_defconfig +++ b/configs/r8a779a0_falcon_defconfig @@ -16,6 +16,7 @@ CONFIG_SYS_CLK_FREQ=16666666 # CONFIG_PSCI_RESET is not set CONFIG_ARMV8_PSCI=y CONFIG_SYS_LOAD_ADDR=0x58000000 +CONFIG_LTO=y CONFIG_REMAKE_ELF=y CONFIG_SYS_MONITOR_LEN=1048576 CONFIG_FIT=y