From: Michal Simek Date: Thu, 10 Dec 2015 11:55:39 +0000 (+0100) Subject: microblaze: Wire-up debug_uart in asm X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=27d83699ecbac4f6be5c6e1e0d5a59647025a02a;p=thirdparty%2Fu-boot.git microblaze: Wire-up debug_uart in asm Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S index 14f46a8f046..157bf1e9166 100644 --- a/arch/microblaze/cpu/start.S +++ b/arch/microblaze/cpu/start.S @@ -155,6 +155,10 @@ clear_bss: cmp r6, r5, r4 /* check if we have reach the end */ bnei r6, 2b 3: /* jumping to board_init */ +#ifdef CONFIG_DEBUG_UART + bralid r15, debug_uart_init + nop +#endif #ifndef CONFIG_SPL_BUILD or r5, r0, r0 /* flags - empty */ addi r31, r0, _gd