From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 20 May 2021 11:52:03 -0600 Subject: [PATCH u-boot v4 28/36] ARM: fix LTO for seaboard In-Reply-To: <20210520112425.25166-29-marek.behun@nic.cz> References: <20210520112425.25166-1-marek.behun@nic.cz> <20210520112425.25166-29-marek.behun@nic.cz> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 20 May 2021 at 05:25, Marek Beh?n 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 > --- > arch/arm/mach-tegra/tegra20/Makefile | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Simon Glass