
20 May
2021
20 May
'21
7:52 p.m.
On Thu, 20 May 2021 at 05:25, Marek BehĂșn marek.behun@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@nic.cz
arch/arm/mach-tegra/tegra20/Makefile | 1 + 1 file changed, 1 insertion(+)
Reviewed-by: Simon Glass sjg@chromium.org