bsps/arm: Conditional ARMv7-AR data cache disable

Update #3667.
Close #3674.
This commit is contained in:
Sebastian Huber
2019-01-10 07:57:36 +01:00
parent 0abe47f142
commit e7d623e7e2

View File

@@ -27,6 +27,7 @@
#include <rtems/asm.h>
#if __ARM_ARCH >= 7 && (__ARM_ARCH_PROFILE == 65 || __ARM_ARCH_PROFILE == 82)
.globl rtems_cache_disable_data
.syntax unified
@@ -118,3 +119,4 @@ FUNCTION_ENTRY(rtems_cache_disable_data)
msr CPSR_fc, r0
ldmia sp!, {r4 - r11, pc}
#endif