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

Submitted by Allen Martin on Aug. 1, 2012, 8:32 p.m.

Details

Message ID 1343853146-15498-6-git-send-email-amartin@nvidia.com
State Superseded
Headers show

Commit Message

Allen Martin Aug. 1, 2012, 8:32 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 hide | download patch | download mbox

diff --git a/arch/arm/cpu/arm720t/start.S b/arch/arm/cpu/arm720t/start.S
index 9d02709..73b57c0 100644
--- a/arch/arm/cpu/arm720t/start.S
+++ b/arch/arm/cpu/arm720t/start.S
@@ -262,7 +262,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