]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
serial: drop redundant depends on
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 28 Aug 2015 11:14:21 +0000 (20:14 +0900)
committerTom Rini <trini@konsulko.com>
Wed, 2 Sep 2015 15:33:09 +0000 (11:33 -0400)
SANDBOX_SERIAL depends on SANDBOX, and SANDBOX selects DM.
So, "SANDBOX_SERIAL depends on DM" is redundant.

Likewise, UNIPHIER_SERIAL depends on ARCH_UNIPHIER, and
ARCH_UNIPHIER selects DM_SERIAL.
So, "UNIPHIER_SERIAL depends on DM_SERIAL" is redundant.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/serial/Kconfig

index 4f6a3b87a137bdb6c51e4cd0b5196da8e9c9e50d..002f1dafe18134ac74cee784f3f2c3756ad5dc45 100644 (file)
@@ -111,7 +111,7 @@ config DEBUG_UART_SHIFT
 
 config SANDBOX_SERIAL
        bool "Sandbox UART support"
-       depends on SANDBOX && DM
+       depends on SANDBOX
        help
          Select this to enable a seral UART for sandbox. This is required to
          operate correctly, otherwise you will see no serial output from
@@ -131,7 +131,7 @@ config SANDBOX_SERIAL
 
 config UNIPHIER_SERIAL
        bool "Support for UniPhier on-chip UART"
-       depends on ARCH_UNIPHIER && DM_SERIAL
+       depends on ARCH_UNIPHIER
        help
          If you have a UniPhier based board and want to use the on-chip
          serial ports, say Y to this option. If unsure, say N.