summaryrefslogtreecommitdiff
path: root/arch/microblaze/cpu
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-12-10 12:55:39 +0100
committerMichal Simek <michal.simek@xilinx.com>2016-01-27 15:55:50 +0100
commit48470b7a20166a0b829d357dad7d6d557b95a1cc (patch)
treee5f5966ff0867782a397b59bdf14b809c281cbe6 /arch/microblaze/cpu
parent576e95b428dbe4c8af9f21559d23333e4f134f9c (diff)
downloadu-boot-imx-48470b7a20166a0b829d357dad7d6d557b95a1cc.zip
u-boot-imx-48470b7a20166a0b829d357dad7d6d557b95a1cc.tar.gz
u-boot-imx-48470b7a20166a0b829d357dad7d6d557b95a1cc.tar.bz2
microblaze: Wire-up debug_uart in asm
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/cpu')
-rw-r--r--arch/microblaze/cpu/start.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S
index 206be3e..e9923b6 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