From: Bin Meng Date: Wed, 26 Aug 2015 06:17:34 -0700 Subject: [U-Boot] [PATCH v2 09/10] net: pch_gbe: Add Kconfig option In-Reply-To: <1440595055-26333-1-git-send-email-bmeng.cn@gmail.com> References: <1440595055-26333-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1440595055-26333-9-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add Kconfig option in preparation for moving board to use Kconfig. Signed-off-by: Bin Meng --- Changes in v2: - Add PHYLIB Kconfig option and let PCH_GBE select PHYLIB drivers/net/Kconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 7367d9e..5e1687b 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -8,6 +8,12 @@ config DM_ETH This is currently implemented in net/eth.c Look in include/net.h for details. +config PHYLIB + bool + default n + help + Enable Ethernet PHY (physical media interface) support. + menuconfig NETDEVICES bool "Network device support" depends on NET @@ -79,4 +85,13 @@ 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 + default n + help + This MAC is present in Intel Platform Controller Hub EG20T. It + supports 10/100/1000 Mbps operation. + endif # NETDEVICES -- 1.8.2.1