]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: renesas: Enable LTO on R-Car
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 11 Feb 2024 17:34:30 +0000 (18:34 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 17 Feb 2024 21:38:20 +0000 (22:38 +0100)
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+renesas@mailbox.org>
Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
arch/arm/Kconfig

index 6b072be24634721ac67885e74a9d5d03e24c4f2b..fde85dc0d537df5050d074c3cd44ba9cebe48630 100644 (file)
@@ -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