Skip to contentSkip to conversation

configs: phycore-imx8mp_defconfig: Enable LTO

PATCH New Teresa Remmet 1 participant 2 messages Jun 14, 2023 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 configs: phycore-imx8mp_defconfig: Enable LTO

Enable LTO for binary size reduction.

---
 configs/phycore-imx8mp_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/phycore-imx8mp_defconfig +1 -0
index 3d076204ad03..7bf404be860b 100644
@@ -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
Signature · 1 line
2.34.1
#1 lore raw

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

Enable LTO for binary size reduction.

---
 configs/phycore-imx8mm_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/phycore-imx8mm_defconfig +1 -0
index ffdb5cce8eb5..4a27d15cb113 100644
@@ -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
Signature · 1 line
2.34.1