]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: renesas: Enable LTO on R-Car3 ULCB
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 22 Dec 2022 21:13:10 +0000 (22:13 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 14 Jan 2023 13:10:11 +0000 (14:10 +0100)
Enable LTO (link time optimization) to improve optimization
and reduce code size by cca. 31 kiB.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
configs/rcar3_ulcb_defconfig

index 43361a286fafbdf1d3ce2ee0fc6b8e652a4ecdcc..076bc2d33562694eb6059d1ea99c87cb758b5cdc 100644 (file)
@@ -13,6 +13,7 @@ CONFIG_SPL_TEXT_BASE=0xe6338000
 CONFIG_RCAR_GEN3=y
 CONFIG_TARGET_ULCB=y
 CONFIG_SYS_LOAD_ADDR=0x58000000
+CONFIG_LTO=y
 CONFIG_REMAKE_ELF=y
 CONFIG_SYS_MONITOR_LEN=1048576
 CONFIG_FIT=y