[PATCH 1/2] imx8m: Enable LTO by default
Marek Vasut
marex at denx.de
Thu Jan 18 19:43:40 CET 2024
On 1/18/24 16:06, Fabio Estevam 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>
Reviewed-by: Marek Vasut <marex at denx.de>
I wouldn't mind seeing LTO enabled for all of ARM64 eventually, but
that's for another patch.
More information about the U-Boot
mailing list