diff options
author | Marek BehĂșn | 2024-04-04 09:50:50 +0200 |
---|---|---|
committer | Stefan Roese | 2024-04-04 10:45:27 +0200 |
commit | dcddd815dbbaa98caa51924c60c7ffcc82a216dd (patch) | |
tree | e2d91178e52c3208d6a37ee67b35c9ef6ddc459b /configs | |
parent | 4dfe8e3b18cdd52017a87e145d6918643711cdc9 (diff) |
arm: mvebu: turris_omnia: Enable LTO by default on Turris Omnia
U-Boot builds for Turris Omnia are approaching the limit of 0xf0000
bytes, which is the size of the U-Boot partition on Omnia.
Enable LTO to get more size optimized binaries.
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/turris_omnia_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig index 29148402a1a..39e15043df5 100644 --- a/configs/turris_omnia_defconfig +++ b/configs/turris_omnia_defconfig @@ -31,6 +31,7 @@ CONFIG_AHCI=y CONFIG_OF_BOARD_FIXUP=y CONFIG_SYS_MEMTEST_START=0x00800000 CONFIG_SYS_MEMTEST_END=0x00ffffff +CONFIG_LTO=y CONFIG_HAS_BOARD_SIZE_LIMIT=y CONFIG_BOARD_SIZE_LIMIT=983040 CONFIG_FIT=y |