[U-Boot] [PATCH 6/7] arm: use thumb compatible return in arm720t

Allen Martin amartin at nvidia.com
Fri Jul 6 20:09:01 CEST 2012


Convert return from relocate_code to a thumb compatible bx
instruction.

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

diff --git a/arch/arm/cpu/arm720t/start.S b/arch/arm/cpu/arm720t/start.S
index 3371d3d..af33e51 100644
--- a/arch/arm/cpu/arm720t/start.S
+++ b/arch/arm/cpu/arm720t/start.S
@@ -260,7 +260,7 @@ clbss_l:str	r2, [r0]		/* clear loop...		    */
 	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
-- 
1.7.9.5



More information about the U-Boot mailing list