[PATCH 1/1] ARM: renesas: reduce rcar3_salvator-x image size
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Mon Apr 11 11:45:29 CEST 2022
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 at canonical.com>
---
configs/rcar3_salvator-x_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/rcar3_salvator-x_defconfig b/configs/rcar3_salvator-x_defconfig
index b6b63829fe..5df295980b 100644
--- a/configs/rcar3_salvator-x_defconfig
+++ b/configs/rcar3_salvator-x_defconfig
@@ -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
--
2.34.1
More information about the U-Boot
mailing list