summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAngelo Dureghello <angelo@sysam.it>2019-03-13 21:46:44 +0100
committerTom Rini <trini@konsulko.com>2019-05-24 08:11:57 -0400
commit82e25ecc85624a82a184b51b0895e7e3fe641575 (patch)
treed33f23485ba6636823c2d38390ccac82153a040d /arch
parentaa54e45ffcb30c8ea5057fd835acb0e5fb07fda5 (diff)
m68k: enabling long jumps on mcf54x5 SoCs
Growing of binary size asks for long assembly jumps. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Angelo Dureghello <angelo@sysam.it>
Diffstat (limited to 'arch')
-rw-r--r--arch/m68k/cpu/mcf547x_8x/start.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/m68k/cpu/mcf547x_8x/start.S b/arch/m68k/cpu/mcf547x_8x/start.S
index 7cb5db7ff05..4dd57bf39c4 100644
--- a/arch/m68k/cpu/mcf547x_8x/start.S
+++ b/arch/m68k/cpu/mcf547x_8x/start.S
@@ -131,7 +131,8 @@ _start:
* then (and always) gd struct space will be reserved
*/
move.l %sp, -(%sp)
- bsr board_init_f_alloc_reserve
+ move.l #board_init_f_alloc_reserve, %a1
+ jsr (%a1)
/* update stack and frame-pointers */
move.l %d0, %sp
@@ -139,7 +140,8 @@ _start:
/* initialize reserved area */
move.l %d0, -(%sp)
- bsr board_init_f_init_reserve
+ move.l #board_init_f_init_reserve, %a1
+ jsr (%a1)
/* run low-level CPU init code (from flash) */
jbsr cpu_init_f