public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 8/9] net: pch_gbe: Add Kconfig option
Date: Thu, 27 Aug 2015 22:25:58 -0700	[thread overview]
Message-ID: <1440739559-16225-8-git-send-email-bmeng.cn@gmail.com> (raw)
In-Reply-To: <1440739559-16225-1-git-send-email-bmeng.cn@gmail.com>

Add Kconfig option in preparation for moving board to use Kconfig.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

---

Changes in v3:
- Make PHYLIB chooseable in memuconfig
- Remove 'default n' for PHYLIB and PCH_GBE

Changes in v2:
- Add PHYLIB Kconfig option and let PCH_GBE select PHYLIB

 drivers/net/Kconfig | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 7367d9e..bbec6a6 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -8,6 +8,11 @@ config DM_ETH
 	  This is currently implemented in net/eth.c
 	  Look in include/net.h for details.
 
+config PHYLIB
+	bool "Ethernet PHY (physical media interface) support"
+	help
+	  Enable Ethernet PHY (physical media interface) support.
+
 menuconfig NETDEVICES
 	bool "Network device support"
 	depends on NET
@@ -79,4 +84,12 @@ config ETH_DESIGNWARE
 	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
 	  provide the PHY (physical media interface).
 
+config PCH_GBE
+	bool "Intel Platform Controller Hub EG20T GMAC driver"
+	depends on DM_ETH && DM_PCI
+	select PHYLIB
+	help
+	  This MAC is present in Intel Platform Controller Hub EG20T. It
+	  supports 10/100/1000 Mbps operation.
+
 endif # NETDEVICES
-- 
1.8.2.1

  parent reply	other threads:[~2015-08-28  5:25 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-28  5:25 [U-Boot] [PATCH v3 1/9] net: Revert "tftp: adjust settings to be suitable for 100Mbit ethernet" Bin Meng
2015-08-28  5:25 ` [U-Boot] [PATCH v3 2/9] dm: eth: Do not print misleading "Net Initialization Skipped" Bin Meng
2015-09-01  0:32   ` Simon Glass
2015-08-28  5:25 ` [U-Boot] [PATCH v3 3/9] dm: test: Add a new test case for dm_test_eth_rotate Bin Meng
2015-09-01  0:32   ` Simon Glass
2015-08-28  5:25 ` [U-Boot] [PATCH v3 4/9] dm: eth: Correctly detect alias in eth_get_dev_by_name() Bin Meng
2015-09-01  0:32   ` Simon Glass
2015-08-28  5:25 ` [U-Boot] [PATCH v3 5/9] x86: crownbay: Convert to use CONFIG_DM_USB Bin Meng
2015-09-01  0:32   ` Simon Glass
2015-08-28  5:25 ` [U-Boot] [PATCH v3 6/9] x86: crownbay: Convert to use CONFIG_DM_ETH for E1000 Bin Meng
2015-09-01  0:32   ` Simon Glass
2015-08-28  5:25 ` [U-Boot] [PATCH v3 7/9] net: pch_gbe: Convert to driver model Bin Meng
2015-09-01  0:32   ` Simon Glass
2015-08-28  5:25 ` Bin Meng [this message]
2015-09-01  0:32   ` [U-Boot] [PATCH v3 8/9] net: pch_gbe: Add Kconfig option Simon Glass
2015-08-28  5:25 ` [U-Boot] [PATCH v3 9/9] x86: crownbay: Enable CONFIG_PCH_GBE Bin Meng
2015-09-01  0:32   ` Simon Glass
2015-08-30 22:45 ` [U-Boot] [PATCH v3 1/9] net: Revert "tftp: adjust settings to be suitable for 100Mbit ethernet" Simon Glass
2015-08-31 14:38   ` Joe Hershberger
2015-09-01  0:31     ` Simon Glass
2015-09-08  9:23 ` Heiko Schocher
2015-09-08 10:13   ` Hannes Schmelzer
2015-09-08 10:21     ` Bin Meng
2015-09-08 10:36     ` Stefan Roese
2015-09-08 10:42       ` Hannes Schmelzer

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=1440739559-16225-8-git-send-email-bmeng.cn@gmail.com \
    --to=bmeng.cn@gmail.com \
    --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