public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] net: eth_designware: select PHYLIB in Kconfig
Date: Sun, 6 Dec 2015 19:52:09 +0100	[thread overview]
Message-ID: <201512061952.09424.marex@denx.de> (raw)
In-Reply-To: <1449407996-4062-1-git-send-email-thomas@wytron.com.tw>

On Sunday, December 06, 2015 at 02:19:56 PM, Thomas Chou wrote:
> Select PHYLIB in drivers/net/Kconfig. And remove CONFIG_PHYLIB
> from legacy board header files.
> 
> This fixed the warnings when both ALTERA_TSE and ETH_DESIGNWARE
> are selected.
> 
> Reported-by: Pavel Machek <pavel@denx.de>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
>  drivers/net/Kconfig              | 1 +
>  include/configs/axs101.h         | 1 -
>  include/configs/bf609-ezkit.h    | 1 -
>  include/configs/galileo.h        | 1 -
>  include/configs/socfpga_common.h | 1 -
>  include/configs/spear-common.h   | 1 -
>  include/configs/stv0991.h        | 1 -
>  include/configs/sunxi-common.h   | 1 -
>  include/configs/tb100.h          | 1 -
>  include/configs/x600.h           | 1 -
>  10 files changed, 1 insertion(+), 9 deletions(-)
> 
> diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
> index a03a95d..4b04d09 100644
> --- a/drivers/net/Kconfig
> +++ b/drivers/net/Kconfig
> @@ -88,6 +88,7 @@ config ETH_SANDBOX_RAW
> 
>  config ETH_DESIGNWARE
>  	bool "Synopsys Designware Ethernet MAC"
> +	select PHYLIB
>  	help
>  	  This MAC is present in SoCs from various vendors. It supports
>  	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to

You should also remove the PHYLIB check in drivers/net/designware.c ,
otherwise looks good.

[...]

Best regards,
Marek Vasut

  reply	other threads:[~2015-12-06 18:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-06 13:19 [U-Boot] [PATCH] net: eth_designware: select PHYLIB in Kconfig Thomas Chou
2015-12-06 18:52 ` Marek Vasut [this message]
2015-12-07  6:37   ` Thomas Chou
2015-12-07  1:50 ` Bin Meng
2015-12-07  6:35   ` Thomas Chou
2015-12-07  9:32     ` Bin Meng
2015-12-07  6:09 ` Chin Liang See
2015-12-07  7:59 ` Pavel Machek
2015-12-07  9:33 ` Bin Meng
2015-12-07 12:53 ` [U-Boot] [PATCH v2] " Thomas Chou
2015-12-19  3:56   ` Thomas Chou
2015-12-19  5:47     ` Marek Vasut
2015-12-19  8:24       ` Thomas Chou
2015-12-21 14:20         ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201512061952.09424.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox