summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-10-17 19:41:22 -0600
committerMichal Simek <michal.simek@xilinx.com>2015-11-04 14:49:52 +0100
commitc54c0a4c1c745a009565ceb2a5c564d4d9418476 (patch)
treed618bbdabefcc0db7cccbbafdbb2f3b7e04fc75a /arch/arm
parentbd44758a41b6d38b865e0bc0b1751c6129c1ec2b (diff)
downloadu-boot-imx-c54c0a4c1c745a009565ceb2a5c564d4d9418476.zip
u-boot-imx-c54c0a4c1c745a009565ceb2a5c564d4d9418476.tar.gz
u-boot-imx-c54c0a4c1c745a009565ceb2a5c564d4d9418476.tar.bz2
arm: zynq: Support the debug UART
Add support for the debug UART to assist with early debugging. Enable it for Zybo as an example. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-zynq/spl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-zynq/spl.c b/arch/arm/mach-zynq/spl.c
index 1805455..723019d 100644
--- a/arch/arm/mach-zynq/spl.c
+++ b/arch/arm/mach-zynq/spl.c
@@ -4,6 +4,7 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
+#include <debug_uart.h>
#include <spl.h>
#include <asm/io.h>
@@ -18,6 +19,11 @@ void board_init_f(ulong dummy)
ps7_init();
arch_cpu_init();
+ /*
+ * The debug UART can be used from this point:
+ * debug_uart_init();
+ * printch('x');
+ */
}
#ifdef CONFIG_SPL_BOARD_INIT