From 55ac54c4a0acbdc786b16dc1b12a661f9dbdb305 Mon Sep 17 00:00:00 2001 From: "angelo@sysam.it" Date: Tue, 12 Apr 2016 00:30:59 +0200 Subject: m68k: fix broken buildman m68k fix 19/48 broken board compilations, due to a now too smal 16-bit relative jump Signed-off-by: Angelo Dureghello Acked-by: Marek Vasut Acked-by: Heiko Schocher --- arch/m68k/cpu/mcf532x/start.S | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'arch/m68k/cpu/mcf532x') diff --git a/arch/m68k/cpu/mcf532x/start.S b/arch/m68k/cpu/mcf532x/start.S index 3b9ede0d3d..131ad6e392 100644 --- a/arch/m68k/cpu/mcf532x/start.S +++ b/arch/m68k/cpu/mcf532x/start.S @@ -155,8 +155,12 @@ _start: move.l #__got_start, %a5 /* put relocation table address to a5 */ - bsr cpu_init_f /* run low-level CPU init code (from flash) */ - bsr board_init_f /* run low-level board init code (from flash) */ + /* run low-level CPU init code (from flash) */ + move.l #cpu_init_f, %a1 + jsr (%a1) + /* run low-level board init code (from flash) */ + move.l #board_init_f, %a1 + jsr (%a1) /* board_init_f() does not return */ -- cgit v1.2.1