* [U-Boot] [PATCH] serial: drop redundant depends on
@ 2015-08-28 11:14 Masahiro Yamada
2015-08-28 23:21 ` Simon Glass
2015-09-02 21:58 ` [U-Boot] " Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2015-08-28 11:14 UTC (permalink / raw)
To: u-boot
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>
---
drivers/serial/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 4f6a3b8..002f1da 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -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.
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] serial: drop redundant depends on
2015-08-28 11:14 [U-Boot] [PATCH] serial: drop redundant depends on Masahiro Yamada
@ 2015-08-28 23:21 ` Simon Glass
2015-09-02 21:58 ` [U-Boot] " Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2015-08-28 23:21 UTC (permalink / raw)
To: u-boot
On 28 August 2015 at 05:14, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> 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>
> ---
>
> drivers/serial/Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Acked-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] serial: drop redundant depends on
2015-08-28 11:14 [U-Boot] [PATCH] serial: drop redundant depends on Masahiro Yamada
2015-08-28 23:21 ` Simon Glass
@ 2015-09-02 21:58 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2015-09-02 21:58 UTC (permalink / raw)
To: u-boot
On Fri, Aug 28, 2015 at 08:14:21PM +0900, Masahiro Yamada wrote:
> 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>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150902/60d70517/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-02 21:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28 11:14 [U-Boot] [PATCH] serial: drop redundant depends on Masahiro Yamada
2015-08-28 23:21 ` Simon Glass
2015-09-02 21:58 ` [U-Boot] " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox