]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: renesas: reduce rcar3_salvator-x image size
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 11 Apr 2022 09:45:29 +0000 (11:45 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 18:23:42 +0000 (20:23 +0200)
rcar3_salvator-x u-boot.img is very close to the 0x100000 size limit.

Enable linked time optimization (LTO).

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
configs/rcar3_salvator-x_defconfig

index b6b63829fe2050b354dbae684985ce015148b5f4..5df295980b373da8205097dbcda5c5e0398d1b59 100644 (file)
@@ -10,6 +10,7 @@ CONFIG_SPL_TEXT_BASE=0xe6338000
 CONFIG_RCAR_GEN3=y
 CONFIG_TARGET_SALVATOR_X=y
 CONFIG_SYS_LOAD_ADDR=0x58000000
+CONFIG_LTO=y
 CONFIG_REMAKE_ELF=y
 CONFIG_FIT=y
 CONFIG_SUPPORT_RAW_INITRD=y