Skip to contentSkip to conversation

configs: phycore-rk3288: Enable CONFIG_LTO

PATCH New Wadim Egorov 1 participant 1 message Dec 13, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: phycore-rk3288: Enable CONFIG_LTO

The phycore-rk3288 SPL binary is reaching the limits of 32KB very often. Enable CONFIG_LTO to reduce the size of the SPL and make the board more future proof for changes increasing the SPL size.

---
 configs/phycore-rk3288_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/phycore-rk3288_defconfig +1 -0
index 8a274187d0..aa015c5502 100644
@@ -15,6 +15,7 @@ CONFIG_DEBUG_UART_BASE=0xff690000
 CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_SYS_LOAD_ADDR=0x800800
 CONFIG_DEBUG_UART=y
+CONFIG_LTO=y
 CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
 CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x100000
 CONFIG_SYS_MONITOR_LEN=614400
Signature · 1 line
2.34.1