[PATHv11 29/43] configs/am335x_boneblack_vboot_defconfig: enable LTO and increase SPL size

Maxim Uvarov maxim.uvarov at linaro.org
Mon Nov 27 13:57:12 CET 2023


Increase allowed binary size to fit lwip code.

Signed-off-by: Maxim Uvarov <maxim.uvarov at linaro.org>
---
 configs/am335x_boneblack_vboot_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configs/am335x_boneblack_vboot_defconfig b/configs/am335x_boneblack_vboot_defconfig
index 531703010a..4f06ed1b76 100644
--- a/configs/am335x_boneblack_vboot_defconfig
+++ b/configs/am335x_boneblack_vboot_defconfig
@@ -94,3 +94,6 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
 CONFIG_USB_ETHER=y
 CONFIG_SPL_USB_ETHER=y
 CONFIG_LZO=y
+CONFIG_LTO=y
+CONFIG_SPL_MAX_SIZE=0x1c000
+CONFIG_SPL_PAD_TO=0x1c000
-- 
2.30.2



More information about the U-Boot mailing list