aboutsummaryrefslogtreecommitdiff
path: root/configs/xilinx_versal_mini_ospi_defconfig
diff options
context:
space:
mode:
authorVenkatesh Yadav Abbarapu2024-01-26 13:39:00 +0530
committerMichal Simek2024-02-12 09:28:31 +0100
commit958526f250cb0752ed639f7d98e10b29a26f06e0 (patch)
tree13687cb27768dbbe0356fdc9a1ca470ad79d9ad6 /configs/xilinx_versal_mini_ospi_defconfig
parentdfc8e5f6595b90bb3f3c4064b7d9d06853a81e48 (diff)
configs: versal: Enable CONFIG_LTO for mini qspi/ospi
Adding a tiny bit more code for mini u-boot leads to a OCM image overflow. Fix this by enabling LTO for this board, so that such changes still can be made to the common U-Boot code. Enable building mini u-boot image with LTO, which results in about 8KB reduction in size. Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com> Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/20240126080900.3209323-1-venkatesh.abbarapu@amd.com
Diffstat (limited to 'configs/xilinx_versal_mini_ospi_defconfig')
-rw-r--r--configs/xilinx_versal_mini_ospi_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/xilinx_versal_mini_ospi_defconfig b/configs/xilinx_versal_mini_ospi_defconfig
index 72a123d9654..7a110350c2c 100644
--- a/configs/xilinx_versal_mini_ospi_defconfig
+++ b/configs/xilinx_versal_mini_ospi_defconfig
@@ -16,6 +16,7 @@ CONFIG_SYS_MEM_RSVD_FOR_MMU=y
CONFIG_VERSAL_NO_DDR=y
# CONFIG_PSCI_RESET is not set
CONFIG_SYS_LOAD_ADDR=0x8000000
+CONFIG_LTO=y
# CONFIG_EXPERT is not set
CONFIG_REMAKE_ELF=y
# CONFIG_AUTOBOOT is not set