From 87f9ffbef5e894bbcea99614520c8afd216bbf1a Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 11 Feb 2024 18:34:30 +0100 Subject: [PATCH] ARM: renesas: Enable LTO on R-Car 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 Reviewed-by: Paul Barker --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 6b072be246..fde85dc0d5 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.39.5