diff mbox

[U-Boot,v1,1/3] net: Kconfig: Add CONFIG_MACB option

Message ID 1476932132-28015-2-git-send-email-wenyou.yang@atmel.com
State Accepted
Commit ebcb40a5a02adc153db949d59e9df9bf0d89b6ec
Delegated to: Joe Hershberger
Headers show

Commit Message

Wenyou Yang Oct. 20, 2016, 2:55 a.m. UTC
Add CONFIG_MACB option in KConfig to be used to select the Cadence
MACB Ethernet driver.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
---

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

Comments

Joe Hershberger Nov. 1, 2016, 8:41 p.m. UTC | #1
On Wed, Oct 19, 2016 at 9:55 PM, Wenyou Yang <wenyou.yang@atmel.com> wrote:
> Add CONFIG_MACB option in KConfig to be used to select the Cadence
> MACB Ethernet driver.
>
> Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>

It seem you need to run tools/moveconfig.py on this thing, yes?

Thanks,
-Joe
Joe Hershberger Nov. 15, 2016, 3:03 a.m. UTC | #2
On Tue, Nov 1, 2016 at 3:41 PM, Joe Hershberger
<joe.hershberger@gmail.com> wrote:
> On Wed, Oct 19, 2016 at 9:55 PM, Wenyou Yang <wenyou.yang@atmel.com> wrote:
>> Add CONFIG_MACB option in KConfig to be used to select the Cadence
>> MACB Ethernet driver.
>>
>> Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
>
> It seem you need to run tools/moveconfig.py on this thing, yes?

It seems you posted a v2 but never addressed this comment. I think you
need to use moveconfig for this patch.

Thanks,
-Joe
diff mbox

Patch

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 302c005..fc0a10f 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -137,6 +137,16 @@  config MVPP2
 	  This driver supports the network interface units in the
 	  Marvell ARMADA 375 SoC.
 
+config MACB
+	bool "Cadence MACB/GEM Ethernet Interface"
+	depends on DM_ETH
+	select PHYLIB
+	help
+	  The Cadence MACB ethernet interface is found on many Atmel
+	  AT91 and SAMA5 parts.  This driver also supports the Cadence
+	  GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
+	  Say Y to include support for the MACB/GEM chip.
+
 config PCH_GBE
 	bool "Intel Platform Controller Hub EG20T GMAC driver"
 	depends on DM_ETH && DM_PCI