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 b7ff2960abfef26787c3bbb1b53dc5deb7647413..e67ea523388fad85fab86f0f51b0f3a5fce6c7c6 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.