On Thu, 20 May 2021 at 05:25, Marek Behún <marek.be...@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.be...@nic.cz> > --- > arch/arm/mach-tegra/tegra20/Makefile | 1 + > 1 file changed, 1 insertion(+) >
Reviewed-by: Simon Glass <s...@chromium.org>