aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2024-02-11 18:34:30 +0100
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2024-02-17 22:38:20 +0100
commit87f9ffbef5e894bbcea99614520c8afd216bbf1a (patch)
treef219537f856abe9d19344afc066ea8cfd0b04e82 /arch/arm
parent1c987e6fb4df31edde25d7517cfdcddce2f639c8 (diff)
downloadu-boot-87f9ffbef5e894bbcea99614520c8afd216bbf1a.zip
u-boot-87f9ffbef5e894bbcea99614520c8afd216bbf1a.tar.gz
u-boot-87f9ffbef5e894bbcea99614520c8afd216bbf1a.tar.bz2
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 <marek.vasut+renesas@mailbox.org> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 6b072be..fde85dc 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