[PATCH] Kconfig/debug_uart: Enable proper drivers for debug on Zynq

Olliver Schinagl oliver at schinagl.nl
Thu Jan 23 09:27:55 CET 2020


When selecting CONFIG_DEBUG_UART_ZYNQ for one it is imperative that
CONFIG_SERIAL_ZYNQ is enabled. Further more, the zynq serial driver
is mostly?/all driver model based. However when compiling the early uart
for the SPL, none of that is available yet, so for the SPL build this
needs to be enabled also.

Signed-off-by: Olliver Schinagl <oliver at schinagl.nl>
---
 drivers/serial/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index bd95f70b61..292bdb2a2f 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -292,6 +292,7 @@ config DEBUG_MVEBU_A3700_UART
 
 config DEBUG_UART_ZYNQ
 	bool "Xilinx Zynq"
+	select ZYNQ_SERIAL
 	help
 	  Select this to enable a debug UART using the serial_zynq driver. You
 	  will need to provide parameters to make this work. The driver will
-- 
2.20.1



More information about the U-Boot mailing list