[U-Boot] [PATCH 5/5] microblaze: Wire-up debug_uart in asm
Michal Simek
michal.simek at xilinx.com
Fri Dec 11 12:56:54 CET 2015
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---
arch/microblaze/cpu/start.S | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S
index 14f46a8f0464..157bf1e91663 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
--
1.9.1
More information about the U-Boot
mailing list