xref: /openbmc/u-boot/drivers/net/Kconfig (revision ebcb40a5a02adc153db949d59e9df9bf0d89b6ec)
105c3e68fSJoe Hershbergerconfig DM_ETH
205c3e68fSJoe Hershberger	bool "Enable Driver Model for Ethernet drivers"
305c3e68fSJoe Hershberger	depends on DM
405c3e68fSJoe Hershberger	help
505c3e68fSJoe Hershberger	  Enable driver model for Ethernet.
605c3e68fSJoe Hershberger
705c3e68fSJoe Hershberger	  The eth_*() interface will be implemented by the UC_ETH class
805c3e68fSJoe Hershberger	  This is currently implemented in net/eth.c
905c3e68fSJoe Hershberger	  Look in include/net.h for details.
103ea143abSJoe Hershberger
11b68fe152SBin Mengconfig PHYLIB
12b68fe152SBin Meng	bool "Ethernet PHY (physical media interface) support"
13b68fe152SBin Meng	help
14b68fe152SBin Meng	  Enable Ethernet PHY (physical media interface) support.
15b68fe152SBin Meng
16525d187aSMichael Haasconfig RTL8211X_PHY_FORCE_MASTER
17525d187aSMichael Haas	bool "Ethernet PHY RTL8211x: force 1000BASE-T master mode"
18525d187aSMichael Haas	depends on PHYLIB
19525d187aSMichael Haas	help
20525d187aSMichael Haas	  Force master mode for 1000BASE-T on RTl8211x PHYs (except for RTL8211F).
21525d187aSMichael Haas	  This can work around link stability and data corruption issues on gigabit
22525d187aSMichael Haas	  links which can occur in slave mode on certain PHYs, e.g. on the
23525d187aSMichael Haas	  RTL8211C(L).
24525d187aSMichael Haas
25525d187aSMichael Haas	  Please note that two directly connected devices (i.e. via crossover cable)
26525d187aSMichael Haas	  will not be able to establish a link between each other if they both force
27525d187aSMichael Haas	  master mode. Multiple devices forcing master mode when connected by a
28525d187aSMichael Haas	  network switch do not pose a problem as the switch configures its affected
29525d187aSMichael Haas	  ports into slave mode.
30525d187aSMichael Haas
31525d187aSMichael Haas	  This option only affects gigabit links. If you must establish a direct
32525d187aSMichael Haas	  connection between two devices which both force master mode, try forcing
33525d187aSMichael Haas	  the link speed to 100MBit/s.
34525d187aSMichael Haas
35525d187aSMichael Haas	  If unsure, say N.
36525d187aSMichael Haas
373ea143abSJoe Hershbergermenuconfig NETDEVICES
383ea143abSJoe Hershberger	bool "Network device support"
393ea143abSJoe Hershberger	depends on NET
40ef0f2f57SJoe Hershberger	default y if DM_ETH
413ea143abSJoe Hershberger	help
423ea143abSJoe Hershberger	  You must select Y to enable any network device support
433ea143abSJoe Hershberger	  Generally if you have any networking support this is a given
443ea143abSJoe Hershberger
453ea143abSJoe Hershberger	  If unsure, say Y
463ea143abSJoe Hershberger
473ea143abSJoe Hershbergerif NETDEVICES
483ea143abSJoe Hershberger
49e40095f6SMarek Vasutconfig AG7XXX
50e40095f6SMarek Vasut	bool "Atheros AG7xxx Ethernet MAC support"
51e40095f6SMarek Vasut	depends on DM_ETH && ARCH_ATH79
52e40095f6SMarek Vasut	select PHYLIB
53e40095f6SMarek Vasut	help
54e40095f6SMarek Vasut	  This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
55e40095f6SMarek Vasut	  present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
56e40095f6SMarek Vasut
57e40095f6SMarek Vasut
5896fa1e43SThomas Chouconfig ALTERA_TSE
5996fa1e43SThomas Chou	bool "Altera Triple-Speed Ethernet MAC support"
6096fa1e43SThomas Chou	depends on DM_ETH
6196fa1e43SThomas Chou	select PHYLIB
6296fa1e43SThomas Chou	help
6396fa1e43SThomas Chou	  This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
6496fa1e43SThomas Chou	  Please find details on the "Triple-Speed Ethernet MegaCore Function
6596fa1e43SThomas Chou	  Resource Center" of Altera.
6696fa1e43SThomas Chou
67ba4dfef1SStephen Warrenconfig DWC_ETH_QOS
68ba4dfef1SStephen Warren	bool "Synopsys DWC Ethernet QOS device support"
69ba4dfef1SStephen Warren	depends on DM_ETH
70ba4dfef1SStephen Warren	select PHYLIB
71ba4dfef1SStephen Warren	help
72ba4dfef1SStephen Warren	  This driver supports the Synopsys Designware Ethernet QOS (Quality
73ba4dfef1SStephen Warren	  Of Service) IP block. The IP supports many options for bus type,
74ba4dfef1SStephen Warren	  clocking/reset structure, and feature list. This driver currently
75ba4dfef1SStephen Warren	  supports the specific configuration used in NVIDIA's Tegra186 chip,
76ba4dfef1SStephen Warren	  but should be extensible to other combinations quite easily.
77ba4dfef1SStephen Warren
78c294ac5cSSimon Glassconfig E1000
79c294ac5cSSimon Glass	bool "Intel PRO/1000 Gigabit Ethernet support"
80c294ac5cSSimon Glass	help
81c294ac5cSSimon Glass	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
82c294ac5cSSimon Glass	  adapters.  For more information on how to identify your adapter, go
83c294ac5cSSimon Glass	  to the Adapter & Driver ID Guide at:
84c294ac5cSSimon Glass
85c294ac5cSSimon Glass	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
86c294ac5cSSimon Glass
87c294ac5cSSimon Glassconfig E1000_SPI_GENERIC
88c294ac5cSSimon Glass	bool "Allow access to the Intel 8257x SPI bus"
89c294ac5cSSimon Glass	depends on E1000
90c294ac5cSSimon Glass	help
91c294ac5cSSimon Glass	  Allow generic access to the SPI bus on the Intel 8257x, for
92c294ac5cSSimon Glass	  example with the "sspi" command.
93c294ac5cSSimon Glass
94c294ac5cSSimon Glassconfig E1000_SPI
95c294ac5cSSimon Glass	bool "Enable SPI bus utility code"
96c294ac5cSSimon Glass	depends on E1000
97c294ac5cSSimon Glass	help
98c294ac5cSSimon Glass	  Utility code for direct access to the SPI bus on Intel 8257x.
99c294ac5cSSimon Glass	  This does not do anything useful unless you set at least one
100c294ac5cSSimon Glass	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
101c294ac5cSSimon Glass
102c294ac5cSSimon Glassconfig CMD_E1000
103c294ac5cSSimon Glass	bool "Enable the e1000 command"
104c294ac5cSSimon Glass	depends on E1000
105c294ac5cSSimon Glass	help
106c294ac5cSSimon Glass	  This enables the 'e1000' management command for E1000 devices. When
107c294ac5cSSimon Glass	  used on devices with SPI support you can reprogram the EEPROM from
108c294ac5cSSimon Glass	  U-Boot.
109c294ac5cSSimon Glass
1103ea143abSJoe Hershbergerconfig ETH_SANDBOX
1113ea143abSJoe Hershberger	depends on DM_ETH && SANDBOX
1123ea143abSJoe Hershberger	default y
1133ea143abSJoe Hershberger	bool "Sandbox: Mocked Ethernet driver"
1143ea143abSJoe Hershberger	help
1153ea143abSJoe Hershberger	  This driver simply responds with fake ARP replies and ping
1163ea143abSJoe Hershberger	  replies that are used to verify network stack functionality
1173ea143abSJoe Hershberger
1183ea143abSJoe Hershberger	  This driver is particularly useful in the test/dm/eth.c tests
1193ea143abSJoe Hershberger
120a346ca79SJoe Hershbergerconfig ETH_SANDBOX_RAW
121a346ca79SJoe Hershberger	depends on DM_ETH && SANDBOX
122a346ca79SJoe Hershberger	default y
123a346ca79SJoe Hershberger	bool "Sandbox: Bridge to Linux Raw Sockets"
124a346ca79SJoe Hershberger	help
125a346ca79SJoe Hershberger	  This driver is a bridge from the bottom of the network stack
126a346ca79SJoe Hershberger	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
127a346ca79SJoe Hershberger	  network traffic to be tested from within sandbox. See
128a346ca79SJoe Hershberger	  board/sandbox/README.sandbox for more details.
129a346ca79SJoe Hershberger
130ef48f6ddSSimon Glassconfig ETH_DESIGNWARE
131ef48f6ddSSimon Glass	bool "Synopsys Designware Ethernet MAC"
13225af71c4SThomas Chou	select PHYLIB
133ef48f6ddSSimon Glass	help
134ef48f6ddSSimon Glass	  This MAC is present in SoCs from various vendors. It supports
135ef48f6ddSSimon Glass	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
136ef48f6ddSSimon Glass	  provide the PHY (physical media interface).
137ef48f6ddSSimon Glass
138f0727120SMax Filippovconfig ETHOC
139f0727120SMax Filippov	bool "OpenCores 10/100 Mbps Ethernet MAC"
140f0727120SMax Filippov	help
141f0727120SMax Filippov	  This MAC is present in OpenRISC and Xtensa XTFPGA boards.
142f0727120SMax Filippov
14397d29ca3SJagan Tekiconfig FEC_MXC
14497d29ca3SJagan Teki	bool "FEC Ethernet controller"
14598d62e61SPatrick Bruenn	depends on MX5 || MX6
14697d29ca3SJagan Teki	help
14797d29ca3SJagan Teki	  This driver supports the 10/100 Fast Ethernet controller for
14897d29ca3SJagan Teki	  NXP i.MX processors.
14997d29ca3SJagan Teki
15099d4c6d3SStefan Roeseconfig MVPP2
15199d4c6d3SStefan Roese	bool "Marvell Armada 375 network interface support"
15299d4c6d3SStefan Roese	depends on ARMADA_375
15399d4c6d3SStefan Roese	select PHYLIB
15499d4c6d3SStefan Roese	help
15599d4c6d3SStefan Roese	  This driver supports the network interface units in the
15699d4c6d3SStefan Roese	  Marvell ARMADA 375 SoC.
15799d4c6d3SStefan Roese
158*ebcb40a5SWenyou Yangconfig MACB
159*ebcb40a5SWenyou Yang	bool "Cadence MACB/GEM Ethernet Interface"
160*ebcb40a5SWenyou Yang	depends on DM_ETH
161*ebcb40a5SWenyou Yang	select PHYLIB
162*ebcb40a5SWenyou Yang	help
163*ebcb40a5SWenyou Yang	  The Cadence MACB ethernet interface is found on many Atmel
164*ebcb40a5SWenyou Yang	  AT91 and SAMA5 parts.  This driver also supports the Cadence
165*ebcb40a5SWenyou Yang	  GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
166*ebcb40a5SWenyou Yang	  Say Y to include support for the MACB/GEM chip.
167*ebcb40a5SWenyou Yang
168b68fe152SBin Mengconfig PCH_GBE
169b68fe152SBin Meng	bool "Intel Platform Controller Hub EG20T GMAC driver"
170b68fe152SBin Meng	depends on DM_ETH && DM_PCI
171b68fe152SBin Meng	select PHYLIB
172b68fe152SBin Meng	help
173b68fe152SBin Meng	  This MAC is present in Intel Platform Controller Hub EG20T. It
174b68fe152SBin Meng	  supports 10/100/1000 Mbps operation.
175b68fe152SBin Meng
17686e9dc86SBin Mengconfig RTL8139
17786e9dc86SBin Meng	bool "Realtek 8139 series Ethernet controller driver"
17886e9dc86SBin Meng	help
17986e9dc86SBin Meng	  This driver supports Realtek 8139 series fast ethernet family of
18086e9dc86SBin Meng	  PCI chipsets/adapters.
18186e9dc86SBin Meng
1820764f24aSBin Mengconfig RTL8169
1830764f24aSBin Meng	bool "Realtek 8169 series Ethernet controller driver"
1840764f24aSBin Meng	help
1850764f24aSBin Meng	  This driver supports Realtek 8169 series gigabit ethernet family of
1860764f24aSBin Meng	  PCI/PCIe chipsets/adapters.
1870764f24aSBin Meng
188a29710c5SAmit Singh Tomarconfig SUN8I_EMAC
189a29710c5SAmit Singh Tomar        bool "Allwinner Sun8i Ethernet MAC support"
190a29710c5SAmit Singh Tomar        depends on DM_ETH
191a29710c5SAmit Singh Tomar        select PHYLIB
192a29710c5SAmit Singh Tomar        help
193a29710c5SAmit Singh Tomar          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
194a29710c5SAmit Singh Tomar	  It can be found in H3/A64/A83T based SoCs and compatible with both
195a29710c5SAmit Singh Tomar	  External and Internal PHY's.
196a29710c5SAmit Singh Tomar
197338a5f2bSMichal Simekconfig XILINX_AXIEMAC
198338a5f2bSMichal Simek	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
199338a5f2bSMichal Simek	select PHYLIB
200338a5f2bSMichal Simek	select MII
201338a5f2bSMichal Simek	bool "Xilinx AXI Ethernet"
202338a5f2bSMichal Simek	help
203338a5f2bSMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
204338a5f2bSMichal Simek
2053229c869SMichal Simekconfig XILINX_EMACLITE
2062f1f05f4SZubair Lutfullah Kakakhel	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
2073229c869SMichal Simek	select PHYLIB
2083229c869SMichal Simek	select MII
2093229c869SMichal Simek	bool "Xilinx Ethernetlite"
2103229c869SMichal Simek	help
2113229c869SMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
2123229c869SMichal Simek
213596e5782SMichal Simekconfig ZYNQ_GEM
214596e5782SMichal Simek	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
2157bccc75aSMichal Simek	select PHYLIB
216596e5782SMichal Simek	bool "Xilinx Ethernet GEM"
217596e5782SMichal Simek	help
218c9428107SMichal Simek	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
219596e5782SMichal Simek
22023e7578cSPurna Chandra Mandalconfig PIC32_ETH
22123e7578cSPurna Chandra Mandal	bool "Microchip PIC32 Ethernet Support"
22223e7578cSPurna Chandra Mandal	depends on DM_ETH && MACH_PIC32
22323e7578cSPurna Chandra Mandal	select PHYLIB
22423e7578cSPurna Chandra Mandal	help
22523e7578cSPurna Chandra Mandal	  This driver implements 10/100 Mbps Ethernet and MAC layer for
22623e7578cSPurna Chandra Mandal	  Microchip PIC32 microcontrollers.
22723e7578cSPurna Chandra Mandal
2280125bcf0SSjoerd Simonsconfig GMAC_ROCKCHIP
2290125bcf0SSjoerd Simons	bool "Rockchip Synopsys Designware Ethernet MAC"
2300125bcf0SSjoerd Simons	depends on DM_ETH && ETH_DESIGNWARE
2310125bcf0SSjoerd Simons	help
2320125bcf0SSjoerd Simons	  This driver provides Rockchip SoCs network support based on the
2330125bcf0SSjoerd Simons	  Synopsys Designware driver.
2340125bcf0SSjoerd Simons
2353ea143abSJoe Hershbergerendif # NETDEVICES
236