|
@@ -191,8 +191,8 @@ stack_setup:
|
|
|
copy_loop:
|
|
|
ldmia r0!, {r9-r10} /* copy from source address [r0] */
|
|
|
stmia r6!, {r9-r10} /* copy to target address [r1] */
|
|
|
- cmp r0, r2 /* until source end addreee [r2] */
|
|
|
- ble copy_loop
|
|
|
+ cmp r0, r2 /* until source end address [r2] */
|
|
|
+ blo copy_loop
|
|
|
|
|
|
#ifndef CONFIG_PRELOADER
|
|
|
/* fix got entries */
|
|
@@ -225,7 +225,7 @@ vector_copy_loop:
|
|
|
ldmia r0!, {r3-r10}
|
|
|
stmia r1!, {r3-r10}
|
|
|
cmp r0, r2
|
|
|
- ble vector_copy_loop
|
|
|
+ blo vector_copy_loop
|
|
|
#endif /* #ifndef CONFIG_SKIP_RELOCATE_UBOOT */
|
|
|
|
|
|
clear_bss:
|
|
@@ -310,8 +310,8 @@ relocate: /* relocate U-Boot to RAM */
|
|
|
copy_loop:
|
|
|
ldmia r0!, {r3-r10} /* copy from source address [r0] */
|
|
|
stmia r1!, {r3-r10} /* copy to target address [r1] */
|
|
|
- cmp r0, r2 /* until source end addreee [r2] */
|
|
|
- ble copy_loop
|
|
|
+ cmp r0, r2 /* until source end address [r2] */
|
|
|
+ blo copy_loop
|
|
|
|
|
|
/*
|
|
|
now copy to sram the interrupt vector
|
|
@@ -324,7 +324,7 @@ vector_copy_loop:
|
|
|
ldmia r0!, {r3-r10}
|
|
|
stmia r1!, {r3-r10}
|
|
|
cmp r0, r2
|
|
|
- ble vector_copy_loop
|
|
|
+ blo vector_copy_loop
|
|
|
#endif /* CONFIG_SKIP_RELOCATE_UBOOT */
|
|
|
|
|
|
/* Set up the stack */
|