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>
This commit is contained in:
Isaac Christensen 2014-08-14 13:08:29 -06:00 committed by Patrick Georgi
parent 3efc52fc08
commit 0ed7940c5d
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
## SUCH DAMAGE. ## 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 head.o-y += head.S
libc-y += main.c sysinfo.c libc-y += main.c sysinfo.c