aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2022-12-22 22:13:15 +0100
committerMarek Vasut <marek.vasut+renesas@gmail.com>2023-01-14 14:10:12 +0100
commit81616cec1eb727464b96295db1a469490ba68822 (patch)
tree4deca389b19dbb1e02fe4b4e41ac949807d4cf18
parent735e6babbcf6b08481b3058e3cec93cb3de371b1 (diff)
downloadu-boot-81616cec1eb727464b96295db1a469490ba68822.zip
u-boot-81616cec1eb727464b96295db1a469490ba68822.tar.gz
u-boot-81616cec1eb727464b96295db1a469490ba68822.tar.bz2
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 <marek.vasut+renesas@gmail.com>
-rw-r--r--configs/r8a779a0_falcon_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/r8a779a0_falcon_defconfig b/configs/r8a779a0_falcon_defconfig
index 8cf2921..28fef6f 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