microblaze: Wire-up debug_uart in asm
authorMichal Simek <michal.simek@xilinx.com>
Thu, 10 Dec 2015 11:55:39 +0000 (12:55 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jan 2016 14:55:50 +0000 (15:55 +0100)
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/cpu/start.S

index 206be3e3ee588ed1192d3d4e5fc9e93b3645c602..e9923b65ef3237bd1e2a60d3db34e0c5ee537146 100644 (file)
@@ -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