]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:18 +0000 (21:47 +0200)
commitf6c9ce63e54787d26adc3ea18d1ad07f80202301
tree7d226e5fd35e64f27518c8aaccbee4f3d289b300
parent664707cf6c9492292620167acb5888a581e27493
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