[U-Boot] [PATCH 01/12] debug_uart: restore ns16550 as default

Thomas Chou thomas at wytron.com.tw
Mon Nov 16 15:36:45 CET 2015


Since commit 220e8021af96 ("nios2: convert altera_jtag_uart to
driver model"), the default debug uart was changed. Most people
use ns16550 UART, so restore it as default.

Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
Reported-by: Ezequiel Garcia <ezequiel at vanguardiasur.com.ar>
Reported-by: Ariel D'Alessandro <ariel at vanguardiasur.com.ar>
---
 drivers/serial/Kconfig | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index d462244..9476a00 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -54,6 +54,13 @@ choice
 	prompt "Select which UART will provide the debug UART"
 	depends on DEBUG_UART
 
+config DEBUG_UART_NS16550
+	bool "ns16550"
+	help
+	  Select this to enable a debug UART using the ns16550 driver. You
+	  will need to provide parameters to make this work. The driver will
+	  be available until the real driver model serial is running.
+
 config DEBUG_UART_ALTERA_JTAGUART
 	bool "Altera JTAG UART"
 	help
@@ -68,13 +75,6 @@ config DEBUG_UART_ALTERA_UART
 	  You will need to provide parameters to make this work. The driver will
 	  be available until the real driver model serial is running.
 
-config DEBUG_UART_NS16550
-	bool "ns16550"
-	help
-	  Select this to enable a debug UART using the ns16550 driver. You
-	  will need to provide parameters to make this work. The driver will
-	  be available until the real driver model serial is running.
-
 config DEBUG_EFI_CONSOLE
 	bool "EFI"
 	depends on EFI_APP
-- 
2.5.0



More information about the U-Boot mailing list