diff mbox series

Kconfig/debug_uart: Enable proper drivers for debug on Zynq

Message ID 20200123082755.23155-1-oliver@schinagl.nl
State New
Headers show
Series Kconfig/debug_uart: Enable proper drivers for debug on Zynq | expand

Commit Message

Olliver Schinagl Jan. 23, 2020, 8:27 a.m. UTC
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 mbox series

Patch

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