diff options
author | Phil Edworthy | 2017-06-01 07:33:29 +0100 |
---|---|---|
committer | Tom Rini | 2017-06-05 14:13:14 -0400 |
commit | 71d2cf23595e6174d50950d60ff28e028a183185 (patch) | |
tree | b310ce92f62a53876478942536e15e9b869a7f7e /arch/arm | |
parent | 111a6af97acd9bca2ffe0b976c8962cfe8a9acc6 (diff) |
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>
Diffstat (limited to 'arch/arm')
-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 49f27201cf8..890c7739635 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: |