diff options
author | Simon Glass <sjg@chromium.org> | 2015-10-17 19:41:22 -0600 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-11-04 14:49:52 +0100 |
commit | c54c0a4c1c745a009565ceb2a5c564d4d9418476 (patch) | |
tree | d618bbdabefcc0db7cccbbafdbb2f3b7e04fc75a /arch/arm | |
parent | bd44758a41b6d38b865e0bc0b1751c6129c1ec2b (diff) | |
download | u-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.c | 6 |
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 |