]> git.dujemihanovic.xyz Git - u-boot.git/commit
configs: versal: Enable CONFIG_LTO for mini qspi/ospi
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Fri, 26 Jan 2024 08:09:00 +0000 (13:39 +0530)
committerMichal Simek <michal.simek@amd.com>
Mon, 12 Feb 2024 08:28:31 +0000 (09:28 +0100)
commit958526f250cb0752ed639f7d98e10b29a26f06e0
tree13687cb27768dbbe0356fdc9a1ca470ad79d9ad6
parentdfc8e5f6595b90bb3f3c4064b7d9d06853a81e48
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
configs/xilinx_versal_mini_ospi_defconfig
configs/xilinx_versal_mini_qspi_defconfig