summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch
diff options
context:
space:
mode:
authorIsaac Christensen <isaac.christensen@se-eng.com>2014-08-14 13:08:29 -0600
committerPatrick Georgi <patrick@georgi-clan.de>2014-08-16 08:34:35 +0200
commit0ed7940c5d0d789ae1394b2a4ab70d8b6924b109 (patch)
tree7e1e1a3ac012fc2714f40dc9afa2cd32126dc64d /payloads/libpayload/arch
parent3efc52fc0801673ee578be825023bfd7ac32b30a (diff)
downloadcoreboot-0ed7940c5d0d789ae1394b2a4ab70d8b6924b109.tar.xz
libpayload: add march flag for armv7
The cache functions for armv7 require 'march=armv7-a' to use the 'isb' and 'dsb' instructions. Change-Id: I3b7ad8fc7da8c3167b38fd1a325090fe49e4ca42 Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6668 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'payloads/libpayload/arch')
-rw-r--r--payloads/libpayload/arch/armv7/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/arch/armv7/Makefile.inc b/payloads/libpayload/arch/armv7/Makefile.inc
index cd909bb5a6..42d6ed2d5c 100644
--- a/payloads/libpayload/arch/armv7/Makefile.inc
+++ b/payloads/libpayload/arch/armv7/Makefile.inc
@@ -27,7 +27,7 @@
## SUCH DAMAGE.
##
-CFLAGS += -ffixed-r8 -mfloat-abi=hard -marm -mabi=aapcs-linux
+CFLAGS += -ffixed-r8 -mfloat-abi=hard -marm -mabi=aapcs-linux -march=armv7-a
head.o-y += head.S
libc-y += main.c sysinfo.c