Isaac Christensen (isaac.christensen@se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6668
-gerrit
commit 3e850587757c6628cbf2a7afb92515bc7f197a9d Author: Isaac Christensen isaac.christensen@se-eng.com Date: Thu Aug 14 13:08:29 2014 -0600
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 --- payloads/libpayload/arch/armv7/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/payloads/libpayload/arch/armv7/Makefile.inc b/payloads/libpayload/arch/armv7/Makefile.inc index cd909bb..42d6ed2 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