On Mon, Mar 20, 2017 at 02:07:06PM +0100, Lucas Stach wrote: > The instructions used in those files are only supported on ARMv7. > > Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> > --- > arch/arm/cpu/Makefile | 2 ++ > 1 file changed, 2 insertions(+) Applied, thanks Sascha > > diff --git a/arch/arm/cpu/Makefile b/arch/arm/cpu/Makefile > index 13b4f9590d21..13fe12c31f6f 100644 > --- a/arch/arm/cpu/Makefile > +++ b/arch/arm/cpu/Makefile > @@ -36,7 +36,9 @@ endif > > obj-$(CONFIG_ARM_PSCI) += psci.o > obj-$(CONFIG_ARM_SECURE_MONITOR) += smccc-call.o > +AFLAGS_smccc-call.o :=-Wa,-march=armv7-a > obj-$(CONFIG_ARM_SECURE_MONITOR) += sm.o sm_as.o > +AFLAGS_sm_as.o :=-Wa,-march=armv7-a > > obj-$(CONFIG_CPU_32v4T) += cache-armv4.o > pbl-$(CONFIG_CPU_32v4T) += cache-armv4.o > -- > 2.11.0 > > > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox