[PATHv11 31/43] configs/lschlv2_defconfig: enable LTO and inc size
Maxim Uvarov
maxim.uvarov at linaro.org
Mon Nov 27 13:57:14 CET 2023
Increase allowed binary size to fit lwip code.
Signed-off-by: Maxim Uvarov <maxim.uvarov at linaro.org>
---
configs/lschlv2_defconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configs/lschlv2_defconfig b/configs/lschlv2_defconfig
index d7c77f8a88..7e0c70c6ea 100644
--- a/configs/lschlv2_defconfig
+++ b/configs/lschlv2_defconfig
@@ -19,7 +19,7 @@ CONFIG_DEFAULT_DEVICE_TREE="kirkwood-lschlv2"
CONFIG_IDENT_STRING=" LS-CHLv2"
CONFIG_SYS_LOAD_ADDR=0x800000
CONFIG_HAS_BOARD_SIZE_LIMIT=y
-CONFIG_BOARD_SIZE_LIMIT=393216
+CONFIG_BOARD_SIZE_LIMIT=409600
# CONFIG_BOOTSTD is not set
CONFIG_DISTRO_DEFAULTS=y
CONFIG_SHOW_BOOT_PROGRESS=y
@@ -67,3 +67,4 @@ CONFIG_DM_SPI=y
CONFIG_KIRKWOOD_SPI=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
+CONFIG_LTO=y
--
2.30.2
More information about the U-Boot
mailing list