summaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorSergey Temerkhanov <s.temerkhanov@gmail.com>2015-10-14 09:54:24 -0700
committerTom Rini <trini@konsulko.com>2016-01-19 22:25:35 +0000
commit19de81502be9e4dd1132b4b9641f66a587b8b0e2 (patch)
tree1512585748cb931fcc0f6e0b11e53a7984a09790 /drivers/serial
parentb81406db51a68ddd482d4ea3641dd7ad2e910771 (diff)
arm: serial: Add Kconfig entries to facilitate usage of the pl01x driver for early debug output
This patch adds Kconfig entries to facilitate usage of pl01x as a debug UART. Signed-off-by: Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla@cavium.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/Kconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 04541c9ff33..92084a2908a 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -127,6 +127,22 @@ config DEBUG_UART_APBUART
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_PL010
+ bool "pl010"
+ help
+ Select this to enable a debug UART using the pl01x driver with the
+ PL010 UART type. 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_PL011
+ bool "pl011"
+ help
+ Select this to enable a debug UART using the pl01x driver with the
+ PL011 UART type. You will need to provide parameters to make this
+ work. The driver will be available until the real driver model
+ serial is running.
+
endchoice
config DEBUG_UART_BASE
@@ -180,6 +196,12 @@ config DEBUG_UART_ANNOUNCE
debug_uart_init()). This can be useful just as a check that
everything is working.
+config DEBUG_UART_SKIP_INIT
+ bool "Skip UART initialization"
+ help
+ Select this if the UART you want to use for debug output is already
+ initialized by the time U-Boot starts its execution.
+
config ALTERA_JTAG_UART
bool "Altera JTAG UART support"
depends on DM_SERIAL