summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2022-12-22 22:13:12 +0100
committerMarek Vasut <marek.vasut+renesas@gmail.com>2023-01-14 14:10:11 +0100
commit0d408d32d5af405fe699cd8af3fee3b77b2288fe (patch)
tree4d75de6ac5650ce1502bacd35a9d46e287146df9
parent68e1926668c8df03848516ae33f8107f4b43ebe6 (diff)
ARM: renesas: Enable LTO on R-Car3 Condor
Enable LTO (link time optimization) to improve optimization and reduce code size by cca. 32 kiB. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
-rw-r--r--configs/r8a77980_condor_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/r8a77980_condor_defconfig b/configs/r8a77980_condor_defconfig
index 1983c8a2db..b316a99827 100644
--- a/configs/r8a77980_condor_defconfig
+++ b/configs/r8a77980_condor_defconfig
@@ -14,6 +14,7 @@ CONFIG_SPL_TEXT_BASE=0xe6318000
CONFIG_RCAR_GEN3=y
CONFIG_TARGET_CONDOR=y
CONFIG_SYS_LOAD_ADDR=0x58000000
+CONFIG_LTO=y
CONFIG_REMAKE_ELF=y
CONFIG_SYS_MONITOR_LEN=1048576
CONFIG_FIT=y