drivers: serial: DEBUG_UART_SKIP_INIT depends on DEBUG_UART
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Wed, 9 Jan 2019 19:27:09 +0000 (20:27 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Jan 2019 20:28:52 +0000 (15:28 -0500)
DEBUG_UART_SKIP_INIT is used only by debug UART and thus should depend
on DEBUG_UART.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/Kconfig

index b7ff296..e67ea52 100644 (file)
@@ -442,6 +442,7 @@ config DEBUG_UART_ANNOUNCE
 
 config DEBUG_UART_SKIP_INIT
        bool "Skip UART initialization"
+       depends on DEBUG_UART
        help
          Select this if the UART you want to use for debug output is already
          initialized by the time U-Boot starts its execution.