diff options
author | Phil Edworthy <PHIL.EDWORTHY@renesas.com> | 2017-06-01 07:33:29 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-05 14:13:14 -0400 |
commit | 71d2cf23595e6174d50950d60ff28e028a183185 (patch) | |
tree | b310ce92f62a53876478942536e15e9b869a7f7e | |
parent | 111a6af97acd9bca2ffe0b976c8962cfe8a9acc6 (diff) | |
download | u-boot-71d2cf23595e6174d50950d60ff28e028a183185.tar.gz u-boot-71d2cf23595e6174d50950d60ff28e028a183185.tar.bz2 u-boot-71d2cf23595e6174d50950d60ff28e028a183185.zip |
armv7m: Fix larger builds
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>
-rw-r--r-- | arch/arm/cpu/armv7m/start.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7m/start.S b/arch/arm/cpu/armv7m/start.S index 49f27201cf..890c773963 100644 --- 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: |