From a0ca4ecbeae4ae9632ebc67bf5318dd2ea09c94f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Wed, 13 Jul 2016 16:27:36 +0200 Subject: ast-g5: deactivate vbar (for qemu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is work around for the ast2500 qemu guest which does not handle the vbar yet. Signed-off-by: Cédric Le Goater Signed-off-by: Joel Stanley --- arch/arm/lib/relocate.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch') 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. -- cgit v1.2.1