summaryrefslogtreecommitdiffstats
path: root/arch/m68k/cpu/mcf523x/start.S
diff options
context:
space:
mode:
authorangelo@sysam.it <angelo@sysam.it>2016-04-12 00:30:59 +0200
committerTom Rini <trini@konsulko.com>2016-04-18 17:11:41 -0400
commit55ac54c4a0acbdc786b16dc1b12a661f9dbdb305 (patch)
treecbda8b0cb4201b69d55999a7827acbb00e62c356 /arch/m68k/cpu/mcf523x/start.S
parent6a3bf3e57149dcfdb447590049ef6cad6cf7258b (diff)
downloadtalos-obmc-uboot-55ac54c4a0acbdc786b16dc1b12a661f9dbdb305.tar.gz
talos-obmc-uboot-55ac54c4a0acbdc786b16dc1b12a661f9dbdb305.zip
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 <angelo@sysam.it> Acked-by: Marek Vasut <marex@denx.de> Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'arch/m68k/cpu/mcf523x/start.S')
-rw-r--r--arch/m68k/cpu/mcf523x/start.S8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/m68k/cpu/mcf523x/start.S b/arch/m68k/cpu/mcf523x/start.S
index 8a23e72ede..1702f98ab1 100644
--- a/arch/m68k/cpu/mcf523x/start.S
+++ b/arch/m68k/cpu/mcf523x/start.S
@@ -141,8 +141,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 */
OpenPOWER on IntegriCloud