[PATCH 1/2] imx8m: Enable LTO by default

Fabio Estevam festevam at gmail.com
Mon Jan 22 13:59:35 CET 2024


On Thu, Jan 18, 2024 at 12:06 PM Fabio Estevam <festevam at gmail.com> wrote:
>
> From: Fabio Estevam <festevam at denx.de>
>
> In an attempt to select ARMV8_SPL_EXCEPTION_VECTORS, the SPL size
> could not fit into the internal SRAM of some imx8m targets:
>
>    aarch64:  +   imx8mm_phg
> +aarch64-linux-ld.bfd: u-boot-spl section `__u_boot_list' will not fit in region `.sram'
> +aarch64-linux-ld.bfd: region `.sram' overflowed by 1824 bytes
>
> Select LTO to prevent that.
>
> Signed-off-by: Fabio Estevam <festevam at denx.de>

Applied only this one, thanks.


More information about the U-Boot mailing list