From: Marek Vasut Date: Sun, 11 Feb 2024 17:34:30 +0000 (+0100) Subject: ARM: renesas: Enable LTO on R-Car X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=87f9ffbef5e894bbcea99614520c8afd216bbf1a;p=u-boot.git 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 --- 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