From mboxrd@z Thu Jan 1 00:00:00 1970 From: Angelo Dureghello Date: Tue, 9 Oct 2018 23:43:10 +0200 Subject: [U-Boot] [PATCH v2 08/11] m68k: enabling long jumps on mcf54x5 SoCs In-Reply-To: <20181009214313.27034-1-angelo@sysam.it> References: <20181009214313.27034-1-angelo@sysam.it> Message-ID: <20181009214313.27034-9-angelo@sysam.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Growing of binary size asks for long assembly jumps. Signed-off-by: Angelo Dureghello --- Changes for v2: - new patch --- arch/m68k/cpu/mcf547x_8x/start.S | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/m68k/cpu/mcf547x_8x/start.S b/arch/m68k/cpu/mcf547x_8x/start.S index 7cb5db7ff0..4dd57bf39c 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 -- 2.19.1