diff mbox series

[4/6] ARM: renesas: Enable LTO on R-Car3 Ebisu

Message ID 20221222211315.142860-4-marek.vasut@gmail.com
State Accepted
Commit 92f00cc26c49df1f87367efe8bf9949781dc25cf
Delegated to: Marek Vasut
Headers show
Series [1/6] ARM: renesas: Enable LTO on R-Car3 ULCB | expand

Commit Message

Marek Vasut Dec. 22, 2022, 9:13 p.m. UTC
From: Marek Vasut <marek.vasut+renesas@gmail.com>

Enable LTO (link time optimization) to improve optimization
and reduce code size by cca. 34 kiB.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
---
 configs/r8a77990_ebisu_defconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/configs/r8a77990_ebisu_defconfig b/configs/r8a77990_ebisu_defconfig
index fe2a38da99..00337e07ee 100644
--- a/configs/r8a77990_ebisu_defconfig
+++ b/configs/r8a77990_ebisu_defconfig
@@ -13,6 +13,7 @@  CONFIG_SPL_TEXT_BASE=0xe6318000
 CONFIG_RCAR_GEN3=y
 CONFIG_TARGET_EBISU=y
 CONFIG_SYS_LOAD_ADDR=0x58000000
+CONFIG_LTO=y
 CONFIG_REMAKE_ELF=y
 CONFIG_SYS_MONITOR_LEN=1048576
 CONFIG_FIT=y