diff mbox

[2/2] boot-wrapper: Fix typo'd load of the vector base address

Message ID 1329330098-31636-3-git-send-email-dave.martin@linaro.org
State Not Applicable
Headers show

Commit Message

Dave Martin Feb. 15, 2012, 6:21 p.m. UTC
The contents of the first vector is accidentally set as the hyp
vector base address.

Ths patch fixes the code to load the address of the first vector
instead.

Signed-off-by: Dave Martin <dave.martin@linaro.org>
---
 boot.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/boot.S b/boot.S
index de50cdc..ecabe33 100644
--- a/boot.S
+++ b/boot.S
@@ -109,7 +109,7 @@  _start:
 	mcr	p15, 0, r0, c12, c0, 1		@ Monitor vector base address
 
 	@ Set up hvbar so hvc comes back here.
-	ldr	r0, vectors
+	ldr	r0, =vectors
 	mov	r7, #0xfffffff0
 	smc	#0				@ Set HVBAR