Re: [PATCH] configs: versal: Enable CONFIG_LTO for mini qspi/ospi

2024-02-06 Thread Michal Simek
On 1/26/24 09:09, Venkatesh Yadav Abbarapu wrote: 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

[PATCH] configs: versal: Enable CONFIG_LTO for mini qspi/ospi

2024-01-26 Thread Venkatesh Yadav Abbarapu
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: Michal