Patchwork [U-Boot,v3,5/9] arm: use thumb compatible return in arm720t

login
register
mail settings
Submitter Allen Martin
Date Aug. 15, 2012, 9:38 p.m.
Message ID <1345066741-19613-6-git-send-email-amartin@nvidia.com>
Download mbox | patch
Permalink /patch/177857/
State Changes Requested
Delegated to: Tom Warren
Headers show

Comments

Allen Martin - Aug. 15, 2012, 9:38 p.m.
Convert return from relocate_code to a thumb compatible bx
instruction.

Signed-off-by: Allen Martin <amartin@nvidia.com>
---
 arch/arm/cpu/arm720t/start.S |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/arch/arm/cpu/arm720t/start.S b/arch/arm/cpu/arm720t/start.S
index 2f914e9..013da46 100644
--- a/arch/arm/cpu/arm720t/start.S
+++ b/arch/arm/cpu/arm720t/start.S
@@ -268,7 +268,7 @@  clbss_e:
 	mov	r0, r5		/* gd_t */
 	mov	r1, r6		/* dest_addr */
 	/* jump to it ... */
-	mov	pc, lr
+	bx	lr
 
 _board_init_r_ofs:
 	.word board_init_r - _start