[PATCH u-boot v4 28/36] ARM: fix LTO for seaboard
Simon Glass
sjg at chromium.org
Thu May 20 19:52:03 CEST 2021
On Thu, 20 May 2021 at 05:25, Marek Behún <marek.behun at nic.cz> wrote:
>
> When seaboard_defconfig is compiled with LTO, the compiler complains
> about some instructions not being supported in ARM mode.
>
> This is caused by arch/arm/mach-tegra/tegra20/warmboot_avp.c having
> different CFLAGS declared in Makefile. This file needs to be compiled
> without LTO.
>
> Fix this by removing -flto for this file.
>
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
> ---
> arch/arm/mach-tegra/tegra20/Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list