Commit 79e63139 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

ARM: use the same branch insn on all architectures



For the "fixloop" implementation in start.S a number of different
instructions was used.  Unify code so all architectures use "blo"
here because it is more robust in case of incorrect alignments.
Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
Cc: Albert ARIBAUD <albert.aribaud@free.fr>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Cc: Prafulla Wadaskar <prafulla@marvell.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>
Acked-by: default avatarHeiko Schocher <hs@denx.de>
parent f760d14a
......@@ -263,7 +263,7 @@ fixnext:
str r1, [r0]
add r2, r2, #8 /* each rel.dyn entry is 8 bytes */
cmp r2, r3
ble fixloop
blo fixloop
#endif
#endif /* #ifndef CONFIG_SKIP_RELOCATE_UBOOT */
......
......@@ -222,7 +222,7 @@ fixloop:
str r4, [r2]
add r2, r2, #4
cmp r2, r3
bne fixloop
blo fixloop
#endif
#endif /* #ifndef CONFIG_SKIP_RELOCATE_UBOOT */
......
......@@ -268,7 +268,7 @@ fixloop:
str r4, [r2]
add r2, r2, #4
cmp r2, r3
bne fixloop
blo fixloop
#endif
#endif /* #ifndef CONFIG_SKIP_RELOCATE_UBOOT */
......
......@@ -259,7 +259,7 @@ fixloop:
str r4, [r2]
add r2, r2, #4
cmp r2, r3
bne fixloop
blo fixloop
#endif
#endif /* #ifndef CONFIG_SKIP_RELOCATE_UBOOT */
......
......@@ -228,7 +228,7 @@ fixloop:
str r4, [r2]
add r2, r2, #4
cmp r2, r3
bne fixloop
blo fixloop
#endif
#endif /* #ifndef CONFIG_SKIP_RELOCATE_UBOOT */
......
......@@ -226,7 +226,7 @@ fixloop:
str r4, [r2]
add r2, r2, #4
cmp r2, r3
bne fixloop
blo fixloop
#endif
#endif /* #ifndef CONFIG_SKIP_RELOCATE_UBOOT */
......
......@@ -352,7 +352,7 @@ fixloop:
str r4, [r2]
add r2, r2, #4
cmp r2, r3
bne fixloop
blo fixloop
#endif
#endif /* #ifndef CONFIG_SKIP_RELOCATE_UBOOT */
......
......@@ -239,7 +239,7 @@ fixloop:
str r4, [r2]
add r2, r2, #4
cmp r2, r3
bne fixloop
blo fixloop
#endif
#endif /* #ifndef CONFIG_SKIP_RELOCATE_UBOOT */
......
......@@ -211,7 +211,7 @@ fixloop:
str r4, [r2]
add r2, r2, #4
cmp r2, r3
bne fixloop
blo fixloop
#endif
/*
now copy to sram the interrupt vector
......
......@@ -215,7 +215,7 @@ fixloop:
str r4, [r2]
add r2, r2, #4
cmp r2, r3
bne fixloop
blo fixloop
#endif
#endif /* #ifndef CONFIG_SKIP_RELOCATE_UBOOT */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment