Enable LTO globally on Renesas R-Car platforms. This has been enabled
on a subset of boards already, but at this point it is safe to enable
it globally. This saves units or tens of kiB from the resulting build.

Signed-off-by: Marek Vasut <marek.vasut+rene...@mailbox.org>
---
Cc: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
Cc: Paul Barker <paul.barker...@bp.renesas.com>
---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 6b072be2463..fde85dc0d53 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1076,6 +1076,7 @@ config ARCH_RMOBILE
        select DM
        select DM_SERIAL
        select GPIO_EXTRA_HEADER
+       select LTO
        imply BOARD_EARLY_INIT_F
        imply CMD_DM
        imply FAT_WRITE
-- 
2.43.0

Reply via email to