diff options
author | Simon Glass | 2015-10-17 19:41:22 -0600 |
---|---|---|
committer | Michal Simek | 2015-11-04 14:49:52 +0100 |
commit | c54c0a4c1c745a009565ceb2a5c564d4d9418476 (patch) | |
tree | d618bbdabefcc0db7cccbbafdbb2f3b7e04fc75a /arch/arm/mach-zynq | |
parent | bd44758a41b6d38b865e0bc0b1751c6129c1ec2b (diff) |
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/mach-zynq')
-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 18054559f5a..723019d2527 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 |