ARM: shmobile: always build rcar setup for armv7
authorArnd Bergmann <arnd@arndb.de>
Tue, 11 Nov 2014 15:36:50 +0000 (16:36 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 08:34:07 +0000 (17:34 +0900)
commitd5f3c7231276f553cdd624bb4125e1b699bc1801
tree9fc4beac27adc02bcd8ceaface18b42b0f84e5a6
parentbe19eb7e1b6048814c6d04432b4c7ecfce34b79e
ARM: shmobile: always build rcar setup for armv7

In a combined ARMv6/v7 kernel, the setup-rcar-gen2.c cannot
currently be compiled correctly because it uses the isb
instruction that is not available on ARMv6. Adding the
-march=armv7-a flag lets the compiler know that it is safe
to build this file for ARMv7.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit e3d163329753b3b473f40c9be71561ed8eb98aea)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Makefile