xref: /openbmc/u-boot/drivers/net/Kconfig (revision ba4dfef1469f13b0189845b778228590391706b3)
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
67*ba4dfef1SStephen Warrenconfig DWC_ETH_QOS
68*ba4dfef1SStephen Warren	bool "Synopsys DWC Ethernet QOS device support"
69*ba4dfef1SStephen Warren	depends on DM_ETH
70*ba4dfef1SStephen Warren	select PHYLIB
71*ba4dfef1SStephen Warren	help
72*ba4dfef1SStephen Warren	  This driver supports the Synopsys Designware Ethernet QOS (Quality
73*ba4dfef1SStephen Warren	  Of Service) IP block. The IP supports many options for bus type,
74*ba4dfef1SStephen Warren	  clocking/reset structure, and feature list. This driver currently
75*ba4dfef1SStephen Warren	  supports the specific configuration used in NVIDIA's Tegra186 chip,
76*ba4dfef1SStephen Warren	  but should be extensible to other combinations quite easily.
77*ba4dfef1SStephen 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"
14597d29ca3SJagan Teki	depends on 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
158b68fe152SBin Mengconfig PCH_GBE
159b68fe152SBin Meng	bool "Intel Platform Controller Hub EG20T GMAC driver"
160b68fe152SBin Meng	depends on DM_ETH && DM_PCI
161b68fe152SBin Meng	select PHYLIB
162b68fe152SBin Meng	help
163b68fe152SBin Meng	  This MAC is present in Intel Platform Controller Hub EG20T. It
164b68fe152SBin Meng	  supports 10/100/1000 Mbps operation.
165b68fe152SBin Meng
16686e9dc86SBin Mengconfig RTL8139
16786e9dc86SBin Meng	bool "Realtek 8139 series Ethernet controller driver"
16886e9dc86SBin Meng	help
16986e9dc86SBin Meng	  This driver supports Realtek 8139 series fast ethernet family of
17086e9dc86SBin Meng	  PCI chipsets/adapters.
17186e9dc86SBin Meng
1720764f24aSBin Mengconfig RTL8169
1730764f24aSBin Meng	bool "Realtek 8169 series Ethernet controller driver"
1740764f24aSBin Meng	help
1750764f24aSBin Meng	  This driver supports Realtek 8169 series gigabit ethernet family of
1760764f24aSBin Meng	  PCI/PCIe chipsets/adapters.
1770764f24aSBin Meng
178a29710c5SAmit Singh Tomarconfig SUN8I_EMAC
179a29710c5SAmit Singh Tomar        bool "Allwinner Sun8i Ethernet MAC support"
180a29710c5SAmit Singh Tomar        depends on DM_ETH
181a29710c5SAmit Singh Tomar        select PHYLIB
182a29710c5SAmit Singh Tomar        help
183a29710c5SAmit Singh Tomar          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
184a29710c5SAmit Singh Tomar	  It can be found in H3/A64/A83T based SoCs and compatible with both
185a29710c5SAmit Singh Tomar	  External and Internal PHY's.
186a29710c5SAmit Singh Tomar
187338a5f2bSMichal Simekconfig XILINX_AXIEMAC
188338a5f2bSMichal Simek	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
189338a5f2bSMichal Simek	select PHYLIB
190338a5f2bSMichal Simek	select MII
191338a5f2bSMichal Simek	bool "Xilinx AXI Ethernet"
192338a5f2bSMichal Simek	help
193338a5f2bSMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
194338a5f2bSMichal Simek
1953229c869SMichal Simekconfig XILINX_EMACLITE
1962f1f05f4SZubair Lutfullah Kakakhel	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
1973229c869SMichal Simek	select PHYLIB
1983229c869SMichal Simek	select MII
1993229c869SMichal Simek	bool "Xilinx Ethernetlite"
2003229c869SMichal Simek	help
2013229c869SMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
2023229c869SMichal Simek
203596e5782SMichal Simekconfig ZYNQ_GEM
204596e5782SMichal Simek	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
2057bccc75aSMichal Simek	select PHYLIB
206596e5782SMichal Simek	bool "Xilinx Ethernet GEM"
207596e5782SMichal Simek	help
208c9428107SMichal Simek	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
209596e5782SMichal Simek
21023e7578cSPurna Chandra Mandalconfig PIC32_ETH
21123e7578cSPurna Chandra Mandal	bool "Microchip PIC32 Ethernet Support"
21223e7578cSPurna Chandra Mandal	depends on DM_ETH && MACH_PIC32
21323e7578cSPurna Chandra Mandal	select PHYLIB
21423e7578cSPurna Chandra Mandal	help
21523e7578cSPurna Chandra Mandal	  This driver implements 10/100 Mbps Ethernet and MAC layer for
21623e7578cSPurna Chandra Mandal	  Microchip PIC32 microcontrollers.
21723e7578cSPurna Chandra Mandal
2183ea143abSJoe Hershbergerendif # NETDEVICES
219