xref: /openbmc/u-boot/drivers/net/Kconfig (revision 4d43d065)
1af2cbfd6SAlexsource "drivers/net/phy/Kconfig"
2af2cbfd6SAlex
305c3e68fSJoe Hershbergerconfig DM_ETH
405c3e68fSJoe Hershberger	bool "Enable Driver Model for Ethernet drivers"
505c3e68fSJoe Hershberger	depends on DM
605c3e68fSJoe Hershberger	help
705c3e68fSJoe Hershberger	  Enable driver model for Ethernet.
805c3e68fSJoe Hershberger
905c3e68fSJoe Hershberger	  The eth_*() interface will be implemented by the UC_ETH class
1005c3e68fSJoe Hershberger	  This is currently implemented in net/eth.c
1105c3e68fSJoe Hershberger	  Look in include/net.h for details.
123ea143abSJoe Hershberger
133ea143abSJoe Hershbergermenuconfig NETDEVICES
143ea143abSJoe Hershberger	bool "Network device support"
153ea143abSJoe Hershberger	depends on NET
16ef0f2f57SJoe Hershberger	default y if DM_ETH
173ea143abSJoe Hershberger	help
183ea143abSJoe Hershberger	  You must select Y to enable any network device support
193ea143abSJoe Hershberger	  Generally if you have any networking support this is a given
203ea143abSJoe Hershberger
213ea143abSJoe Hershberger	  If unsure, say Y
223ea143abSJoe Hershberger
233ea143abSJoe Hershbergerif NETDEVICES
243ea143abSJoe Hershberger
25e40095f6SMarek Vasutconfig AG7XXX
26e40095f6SMarek Vasut	bool "Atheros AG7xxx Ethernet MAC support"
27e40095f6SMarek Vasut	depends on DM_ETH && ARCH_ATH79
28e40095f6SMarek Vasut	select PHYLIB
29e40095f6SMarek Vasut	help
30e40095f6SMarek Vasut	  This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
31e40095f6SMarek Vasut	  present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
32e40095f6SMarek Vasut
33e40095f6SMarek Vasut
3496fa1e43SThomas Chouconfig ALTERA_TSE
3596fa1e43SThomas Chou	bool "Altera Triple-Speed Ethernet MAC support"
3696fa1e43SThomas Chou	depends on DM_ETH
3796fa1e43SThomas Chou	select PHYLIB
3896fa1e43SThomas Chou	help
3996fa1e43SThomas Chou	  This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
4096fa1e43SThomas Chou	  Please find details on the "Triple-Speed Ethernet MegaCore Function
4196fa1e43SThomas Chou	  Resource Center" of Altera.
4296fa1e43SThomas Chou
43ba4dfef1SStephen Warrenconfig DWC_ETH_QOS
44ba4dfef1SStephen Warren	bool "Synopsys DWC Ethernet QOS device support"
45ba4dfef1SStephen Warren	depends on DM_ETH
46ba4dfef1SStephen Warren	select PHYLIB
47ba4dfef1SStephen Warren	help
48ba4dfef1SStephen Warren	  This driver supports the Synopsys Designware Ethernet QOS (Quality
49ba4dfef1SStephen Warren	  Of Service) IP block. The IP supports many options for bus type,
50ba4dfef1SStephen Warren	  clocking/reset structure, and feature list. This driver currently
51ba4dfef1SStephen Warren	  supports the specific configuration used in NVIDIA's Tegra186 chip,
52ba4dfef1SStephen Warren	  but should be extensible to other combinations quite easily.
53ba4dfef1SStephen Warren
54c294ac5cSSimon Glassconfig E1000
55c294ac5cSSimon Glass	bool "Intel PRO/1000 Gigabit Ethernet support"
56c294ac5cSSimon Glass	help
57c294ac5cSSimon Glass	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
58c294ac5cSSimon Glass	  adapters.  For more information on how to identify your adapter, go
59c294ac5cSSimon Glass	  to the Adapter & Driver ID Guide at:
60c294ac5cSSimon Glass
61c294ac5cSSimon Glass	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
62c294ac5cSSimon Glass
63c294ac5cSSimon Glassconfig E1000_SPI_GENERIC
64c294ac5cSSimon Glass	bool "Allow access to the Intel 8257x SPI bus"
65c294ac5cSSimon Glass	depends on E1000
66c294ac5cSSimon Glass	help
67c294ac5cSSimon Glass	  Allow generic access to the SPI bus on the Intel 8257x, for
68c294ac5cSSimon Glass	  example with the "sspi" command.
69c294ac5cSSimon Glass
70c294ac5cSSimon Glassconfig E1000_SPI
71c294ac5cSSimon Glass	bool "Enable SPI bus utility code"
72c294ac5cSSimon Glass	depends on E1000
73c294ac5cSSimon Glass	help
74c294ac5cSSimon Glass	  Utility code for direct access to the SPI bus on Intel 8257x.
75c294ac5cSSimon Glass	  This does not do anything useful unless you set at least one
76c294ac5cSSimon Glass	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
77c294ac5cSSimon Glass
78c294ac5cSSimon Glassconfig CMD_E1000
79c294ac5cSSimon Glass	bool "Enable the e1000 command"
80c294ac5cSSimon Glass	depends on E1000
81c294ac5cSSimon Glass	help
82c294ac5cSSimon Glass	  This enables the 'e1000' management command for E1000 devices. When
83c294ac5cSSimon Glass	  used on devices with SPI support you can reprogram the EEPROM from
84c294ac5cSSimon Glass	  U-Boot.
85c294ac5cSSimon Glass
863ea143abSJoe Hershbergerconfig ETH_SANDBOX
873ea143abSJoe Hershberger	depends on DM_ETH && SANDBOX
883ea143abSJoe Hershberger	default y
893ea143abSJoe Hershberger	bool "Sandbox: Mocked Ethernet driver"
903ea143abSJoe Hershberger	help
913ea143abSJoe Hershberger	  This driver simply responds with fake ARP replies and ping
923ea143abSJoe Hershberger	  replies that are used to verify network stack functionality
933ea143abSJoe Hershberger
943ea143abSJoe Hershberger	  This driver is particularly useful in the test/dm/eth.c tests
953ea143abSJoe Hershberger
96a346ca79SJoe Hershbergerconfig ETH_SANDBOX_RAW
97a346ca79SJoe Hershberger	depends on DM_ETH && SANDBOX
98a346ca79SJoe Hershberger	default y
99a346ca79SJoe Hershberger	bool "Sandbox: Bridge to Linux Raw Sockets"
100a346ca79SJoe Hershberger	help
101a346ca79SJoe Hershberger	  This driver is a bridge from the bottom of the network stack
102a346ca79SJoe Hershberger	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
103a346ca79SJoe Hershberger	  network traffic to be tested from within sandbox. See
104a346ca79SJoe Hershberger	  board/sandbox/README.sandbox for more details.
105a346ca79SJoe Hershberger
106ef48f6ddSSimon Glassconfig ETH_DESIGNWARE
107ef48f6ddSSimon Glass	bool "Synopsys Designware Ethernet MAC"
10825af71c4SThomas Chou	select PHYLIB
109ef48f6ddSSimon Glass	help
110ef48f6ddSSimon Glass	  This MAC is present in SoCs from various vendors. It supports
111ef48f6ddSSimon Glass	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
112ef48f6ddSSimon Glass	  provide the PHY (physical media interface).
113ef48f6ddSSimon Glass
114f0727120SMax Filippovconfig ETHOC
115f0727120SMax Filippov	bool "OpenCores 10/100 Mbps Ethernet MAC"
116f0727120SMax Filippov	help
117f0727120SMax Filippov	  This MAC is present in OpenRISC and Xtensa XTFPGA boards.
118f0727120SMax Filippov
11997d29ca3SJagan Tekiconfig FEC_MXC
12097d29ca3SJagan Teki	bool "FEC Ethernet controller"
12198d62e61SPatrick Bruenn	depends on MX5 || MX6
12297d29ca3SJagan Teki	help
12397d29ca3SJagan Teki	  This driver supports the 10/100 Fast Ethernet controller for
12497d29ca3SJagan Teki	  NXP i.MX processors.
12597d29ca3SJagan Teki
12699d4c6d3SStefan Roeseconfig MVPP2
127e7935c47SStefan Roese	bool "Marvell Armada 375/7K/8K network interface support"
128e7935c47SStefan Roese	depends on ARMADA_375 || ARMADA_8K
12999d4c6d3SStefan Roese	select PHYLIB
13099d4c6d3SStefan Roese	help
13199d4c6d3SStefan Roese	  This driver supports the network interface units in the
132e7935c47SStefan Roese	  Marvell ARMADA 375, 7K and 8K SoCs.
13399d4c6d3SStefan Roese
134ebcb40a5SWenyou Yangconfig MACB
135ebcb40a5SWenyou Yang	bool "Cadence MACB/GEM Ethernet Interface"
136ebcb40a5SWenyou Yang	depends on DM_ETH
137ebcb40a5SWenyou Yang	select PHYLIB
138ebcb40a5SWenyou Yang	help
139ebcb40a5SWenyou Yang	  The Cadence MACB ethernet interface is found on many Atmel
140ebcb40a5SWenyou Yang	  AT91 and SAMA5 parts.  This driver also supports the Cadence
141ebcb40a5SWenyou Yang	  GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
142ebcb40a5SWenyou Yang	  Say Y to include support for the MACB/GEM chip.
143ebcb40a5SWenyou Yang
144b68fe152SBin Mengconfig PCH_GBE
145b68fe152SBin Meng	bool "Intel Platform Controller Hub EG20T GMAC driver"
146b68fe152SBin Meng	depends on DM_ETH && DM_PCI
147b68fe152SBin Meng	select PHYLIB
148b68fe152SBin Meng	help
149b68fe152SBin Meng	  This MAC is present in Intel Platform Controller Hub EG20T. It
150b68fe152SBin Meng	  supports 10/100/1000 Mbps operation.
151b68fe152SBin Meng
15286e9dc86SBin Mengconfig RTL8139
15386e9dc86SBin Meng	bool "Realtek 8139 series Ethernet controller driver"
15486e9dc86SBin Meng	help
15586e9dc86SBin Meng	  This driver supports Realtek 8139 series fast ethernet family of
15686e9dc86SBin Meng	  PCI chipsets/adapters.
15786e9dc86SBin Meng
1580764f24aSBin Mengconfig RTL8169
1590764f24aSBin Meng	bool "Realtek 8169 series Ethernet controller driver"
1600764f24aSBin Meng	help
1610764f24aSBin Meng	  This driver supports Realtek 8169 series gigabit ethernet family of
1620764f24aSBin Meng	  PCI/PCIe chipsets/adapters.
1630764f24aSBin Meng
164*4d43d065SMylène Josserandconfig SUN7I_GMAC
165*4d43d065SMylène Josserand	bool "Enable Allwinner GMAC Ethernet support"
166*4d43d065SMylène Josserand	help
167*4d43d065SMylène Josserand	  Enable the support for Sun7i GMAC Ethernet controller
168*4d43d065SMylène Josserand
169a29710c5SAmit Singh Tomarconfig SUN8I_EMAC
170a29710c5SAmit Singh Tomar        bool "Allwinner Sun8i Ethernet MAC support"
171a29710c5SAmit Singh Tomar        depends on DM_ETH
172a29710c5SAmit Singh Tomar        select PHYLIB
173a29710c5SAmit Singh Tomar        help
174a29710c5SAmit Singh Tomar          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
175a29710c5SAmit Singh Tomar	  It can be found in H3/A64/A83T based SoCs and compatible with both
1767131d2d0STom Rini	  External and Internal PHYs.
177a29710c5SAmit Singh Tomar
178338a5f2bSMichal Simekconfig XILINX_AXIEMAC
179338a5f2bSMichal Simek	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
180338a5f2bSMichal Simek	select PHYLIB
181338a5f2bSMichal Simek	select MII
182338a5f2bSMichal Simek	bool "Xilinx AXI Ethernet"
183338a5f2bSMichal Simek	help
184338a5f2bSMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
185338a5f2bSMichal Simek
1863229c869SMichal Simekconfig XILINX_EMACLITE
1872f1f05f4SZubair Lutfullah Kakakhel	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
1883229c869SMichal Simek	select PHYLIB
1893229c869SMichal Simek	select MII
1903229c869SMichal Simek	bool "Xilinx Ethernetlite"
1913229c869SMichal Simek	help
1923229c869SMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
1933229c869SMichal Simek
194596e5782SMichal Simekconfig ZYNQ_GEM
195596e5782SMichal Simek	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
1967bccc75aSMichal Simek	select PHYLIB
197596e5782SMichal Simek	bool "Xilinx Ethernet GEM"
198596e5782SMichal Simek	help
199c9428107SMichal Simek	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
200596e5782SMichal Simek
20123e7578cSPurna Chandra Mandalconfig PIC32_ETH
20223e7578cSPurna Chandra Mandal	bool "Microchip PIC32 Ethernet Support"
20323e7578cSPurna Chandra Mandal	depends on DM_ETH && MACH_PIC32
20423e7578cSPurna Chandra Mandal	select PHYLIB
20523e7578cSPurna Chandra Mandal	help
20623e7578cSPurna Chandra Mandal	  This driver implements 10/100 Mbps Ethernet and MAC layer for
20723e7578cSPurna Chandra Mandal	  Microchip PIC32 microcontrollers.
20823e7578cSPurna Chandra Mandal
2090125bcf0SSjoerd Simonsconfig GMAC_ROCKCHIP
2100125bcf0SSjoerd Simons	bool "Rockchip Synopsys Designware Ethernet MAC"
2110125bcf0SSjoerd Simons	depends on DM_ETH && ETH_DESIGNWARE
2120125bcf0SSjoerd Simons	help
2130125bcf0SSjoerd Simons	  This driver provides Rockchip SoCs network support based on the
2140125bcf0SSjoerd Simons	  Synopsys Designware driver.
2150125bcf0SSjoerd Simons
2163ea143abSJoe Hershbergerendif # NETDEVICES
217