u-boot-brain/arch/arm/cpu/armv7m/start.S
Phil Edworthy 71d2cf2359 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>
2017-06-05 14:13:14 -04:00

18 lines
254 B
ArmAsm

/*
* (C) Copyright 2015
* Kamil Lulko, <kamil.lulko@gmail.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <asm/assembler.h>
.globl reset
.type reset, %function
reset:
W(b) _main
.globl c_runtime_cpu_setup
c_runtime_cpu_setup:
mov pc, lr