]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
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 10:50:38 +0000 (11:50 +0100)
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/cpu/start.S

index 14f46a8f0464fc7da99cd978467016c1a55ad7e1..157bf1e91663bbd0875fb354f0fe0a9180ec59fd 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