]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: phycore-rk3288: Enable CONFIG_LTO
authorWadim Egorov <w.egorov@phytec.de>
Tue, 13 Dec 2022 10:38:09 +0000 (11:38 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 18 May 2023 01:15:52 +0000 (09:15 +0800)
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 <w.egorov@phytec.de>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
configs/phycore-rk3288_defconfig

index 4e727621eaee7c9dd069dccff6363ac29d9ad205..aa5aa285161b9bbe7f1b3c163be6006692a5afb0 100644 (file)
@@ -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