[PATCH 1/2] configs: phycore-imx8mp_defconfig: Enable LTO
Teresa Remmet
t.remmet at phytec.de
Wed Jun 14 14:36:47 CEST 2023
Enable LTO for binary size reduction.
Signed-off-by: Teresa Remmet <t.remmet at phytec.de>
---
configs/phycore-imx8mp_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/phycore-imx8mp_defconfig b/configs/phycore-imx8mp_defconfig
index 3d076204ad03..7bf404be860b 100644
--- a/configs/phycore-imx8mp_defconfig
+++ b/configs/phycore-imx8mp_defconfig
@@ -21,6 +21,7 @@ CONFIG_SPL_STACK=0x960000
CONFIG_SPL=y
CONFIG_SPL_IMX_ROMAPI_LOADADDR=0x48000000
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