summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-04-11 11:45:29 +0200
committerStefano Babic <sbabic@denx.de>2022-04-12 20:23:42 +0200
commitca161222e5d9da4f930c2a248ed0829d23900e50 (patch)
treea448bf4268b0145f76d0569e445d59711ac7b49d /configs
parentbba6cc7018f0d282c222bb38a3eeab1764f538a8 (diff)
downloadu-boot-ca161222e5d9da4f930c2a248ed0829d23900e50.tar.gz
u-boot-ca161222e5d9da4f930c2a248ed0829d23900e50.tar.bz2
u-boot-ca161222e5d9da4f930c2a248ed0829d23900e50.zip
ARM: renesas: reduce rcar3_salvator-x image size
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>
Diffstat (limited to 'configs')
-rw-r--r--configs/rcar3_salvator-x_defconfig1
1 files changed, 1 insertions, 0 deletions
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