projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
111a6af
)
armv7m: Fix larger builds
author
Phil Edworthy
<PHIL.EDWORTHY@renesas.com>
Thu, 1 Jun 2017 06:33:29 +0000
(07:33 +0100)
committer
Tom Rini
<trini@konsulko.com>
Mon, 5 Jun 2017 18:13:14 +0000
(14:13 -0400)
The branch instruction only has an 11-bit relative target address, which
is sometimes not enough.
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
arch/arm/cpu/armv7m/start.S
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7m/start.S
b/arch/arm/cpu/armv7m/start.S
index 49f27201cf8ad09ea78173efac40f7ab52b40123..890c7739635961039eb6fffd0d2655c3836888b5 100644
(file)
--- a/
arch/arm/cpu/armv7m/start.S
+++ b/
arch/arm/cpu/armv7m/start.S
@@
-5,10
+5,12
@@
* SPDX-License-Identifier: GPL-2.0+
*/
+#include <asm/assembler.h>
+
.globl reset
.type reset, %function
reset:
-
b
_main
+
W(b)
_main
.globl c_runtime_cpu_setup
c_runtime_cpu_setup: