[PATCH 2/2] configs: phycore-imx8mm_defconfig: Enable LTO

Teresa Remmet t.remmet at phytec.de
Wed Jun 14 14:36:48 CEST 2023


Enable LTO for binary size reduction.

Signed-off-by: Teresa Remmet <t.remmet at phytec.de>
---
 configs/phycore-imx8mm_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/phycore-imx8mm_defconfig b/configs/phycore-imx8mm_defconfig
index ffdb5cce8eb5..4a27d15cb113 100644
--- a/configs/phycore-imx8mm_defconfig
+++ b/configs/phycore-imx8mm_defconfig
@@ -21,6 +21,7 @@ CONFIG_SPL_STACK=0x920000
 CONFIG_SPL=y
 CONFIG_ENV_OFFSET_REDUND=0x3E0000
 CONFIG_SYS_LOAD_ADDR=0x40480000
+CONFIG_LTO=y
 CONFIG_FIT=y
 CONFIG_FIT_EXTERNAL_OFFSET=0x3000
 CONFIG_SPL_LOAD_FIT=y
-- 
2.34.1



More information about the U-Boot mailing list