arm: zynq: Enable debug console for zc770 xm011
authorMichal Simek <michal.simek@xilinx.com>
Fri, 15 Dec 2017 06:46:12 +0000 (07:46 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 30 Jan 2018 13:28:44 +0000 (14:28 +0100)
Wire debug console which is useful for early debugging.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
configs/zynq_zc770_xm011_defconfig

index d46238202ed2a5c29a8f684f7e3ec269585a544d..3043c82c9dbe0fbfd41230b4a8da5069d26bd127 100644 (file)
@@ -5,6 +5,7 @@ CONFIG_IDENT_STRING=" Xilinx Zynq ZC770 XM011"
 CONFIG_SPL_STACK_R_ADDR=0x200000
 # CONFIG_SPL_FAT_SUPPORT is not set
 CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm011"
+CONFIG_DEBUG_UART=y
 CONFIG_FIT=y
 CONFIG_FIT_SIGNATURE=y
 CONFIG_FIT_VERBOSE=y
@@ -35,4 +36,8 @@ CONFIG_FPGA_XILINX=y
 CONFIG_NAND=y
 CONFIG_NAND_ZYNQ=y
 CONFIG_ZYNQ_GEM=y
+CONFIG_DEBUG_UART_ZYNQ=y
+CONFIG_DEBUG_UART_BASE=0xe0001000
+CONFIG_DEBUG_UART_CLOCK=50000000
+CONFIG_DEBUG_UART_ANNOUNCE=y
 CONFIG_ZYNQ_SERIAL=y