]> git.sur5r.net Git - u-boot/commit
ARM: cpu: Add ARMv7 barrier operations support
authorValentine Barshak <valentine.barshak@cogentembedded.com>
Fri, 20 Mar 2015 15:16:17 +0000 (18:16 +0300)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 16 Apr 2015 11:53:26 +0000 (13:53 +0200)
commit9ba379ade789e41cc4132d622315f3f021a47b9b
tree9591843c0f8f3166760f6c07c1d0fe83e49d8e4e
parent82f681d67d3545cbc2250bdf7ecf2d06e7369e2b
ARM: cpu: Add ARMv7 barrier operations support

This enables ARMv7 barrier operations support when
march=armv7-a is enabled.

Using CP15 barriers causes U-Boot bootm command crash when
transferring control to the loaded image on Renesas R8A7794 Cortex A7 CPU.
Using ARMv7 barrier operations instead of the deprecated CP15 barriers
helps to avoid these issues.

Signed-off-by: Valentine Barshak <valentine.barshak+renesas@cogentembedded.com>
Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
arch/arm/cpu/armv7/cache_v7.c
arch/arm/include/asm/armv7.h