[PATCH 6/6] ARM: renesas: Enable LTO on R-Car3 Falcon
Marek Vasut
marek.vasut at gmail.com
Thu Dec 22 22:13:15 CET 2022
From: Marek Vasut <marek.vasut+renesas at gmail.com>
Enable LTO (link time optimization) to improve optimization
and reduce code size by cca. 30 kiB.
Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
---
configs/r8a779a0_falcon_defconfig | 1 +
1 file changed, 1 insertion(+)
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
--
2.35.1
More information about the U-Boot
mailing list