summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/relocate.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lib/relocate.S')
-rw-r--r--arch/arm/lib/relocate.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/relocate.S b/arch/arm/lib/relocate.S
index 475d503dd9..33bcff41ac 100644
--- a/arch/arm/lib/relocate.S
+++ b/arch/arm/lib/relocate.S
@@ -35,7 +35,7 @@ ENTRY(relocate_vectors)
ldr r1, =V7M_SCB_BASE
str r0, [r1, V7M_SCB_VTOR]
#else
-#ifdef CONFIG_HAS_VBAR
+#if defined(CONFIG_HAS_VBAR) && !defined(CONFIG_ARCH_AST2500)
/*
* If the ARM processor has the security extensions,
* use VBAR to relocate the exception vectors.
OpenPOWER on IntegriCloud