summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWadim Egorov <[email protected]>2022-12-13 11:38:09 +0100
committerKever Yang <[email protected]>2023-05-18 09:15:52 +0800
commit14421e875e41005015705a7febe1e11ca2478e48 (patch)
tree9abe115652af8fd43af53a46b762da0954e165c2
parent63a49240d47e34a9a85091f3ab0841cafd22426a (diff)
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. Signed-off-by: Wadim Egorov <[email protected]> Signed-off-by: Samuel Holland <[email protected]> Reviewed-by: Kever Yang <[email protected]>
-rw-r--r--configs/phycore-rk3288_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/phycore-rk3288_defconfig b/configs/phycore-rk3288_defconfig
index 4e727621eae..aa5aa285161 100644
--- a/configs/phycore-rk3288_defconfig
+++ b/configs/phycore-rk3288_defconfig
@@ -19,6 +19,7 @@ CONFIG_DEBUG_UART_BASE=0xff690000
CONFIG_DEBUG_UART_CLOCK=24000000
CONFIG_SYS_LOAD_ADDR=0x800800
CONFIG_DEBUG_UART=y
+CONFIG_LTO=y
CONFIG_SYS_MONITOR_LEN=614400
# CONFIG_ANDROID_BOOT_IMAGE is not set
CONFIG_USE_PREBOOT=y