diff options
author | Simon Glass <sjg@chromium.org> | 2015-10-18 19:51:25 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-10-21 07:46:50 -0600 |
commit | c7fefcb9125bbd183dc095996c6747273043d988 (patch) | |
tree | a13a25028257f0521267be5beed5127da8713536 /drivers | |
parent | 0e977bc1455699fd8a9303ee3e8fd66a3c8eaced (diff) |
debug_uart: Add an option to announce the debug UART
It is useful to see a message from the debug UART early during boot so that
you know things are working. Add an option to enable this. The message will
be displayed as soon as debug_uart_init() is called.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 39f65007c9d..ac5920ad5a9 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -120,6 +120,16 @@ config DEBUG_UART_BOARD_INIT here that is needed to set up the UART ready for use, such as set pin multiplexing or enable clocks. +config DEBUG_UART_ANNOUNCE + bool "Show a message when the debug UART starts up" + depends on DEBUG_UART + help + Enable this option to show a message when the debug UART is ready + for use. You will see a message like "<debug_uart> " as soon as + U-Boot has the UART ready for use (i.e. your code calls + debug_uart_init()). This can be useful just as a check that + everything is working. + config ROCKCHIP_SERIAL bool "Rockchip on-chip UART support" depends on ARCH_ROCKCHIP && DM_SERIAL |