xref: /openbmc/u-boot/drivers/net/Kconfig (revision 97d29ca3a825d81c87a9b071013e8fb30ed40ecf)
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
67c294ac5cSSimon Glassconfig E1000
68c294ac5cSSimon Glass	bool "Intel PRO/1000 Gigabit Ethernet support"
69c294ac5cSSimon Glass	help
70c294ac5cSSimon Glass	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
71c294ac5cSSimon Glass	  adapters.  For more information on how to identify your adapter, go
72c294ac5cSSimon Glass	  to the Adapter & Driver ID Guide at:
73c294ac5cSSimon Glass
74c294ac5cSSimon Glass	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
75c294ac5cSSimon Glass
76c294ac5cSSimon Glassconfig E1000_SPI_GENERIC
77c294ac5cSSimon Glass	bool "Allow access to the Intel 8257x SPI bus"
78c294ac5cSSimon Glass	depends on E1000
79c294ac5cSSimon Glass	help
80c294ac5cSSimon Glass	  Allow generic access to the SPI bus on the Intel 8257x, for
81c294ac5cSSimon Glass	  example with the "sspi" command.
82c294ac5cSSimon Glass
83c294ac5cSSimon Glassconfig E1000_SPI
84c294ac5cSSimon Glass	bool "Enable SPI bus utility code"
85c294ac5cSSimon Glass	depends on E1000
86c294ac5cSSimon Glass	help
87c294ac5cSSimon Glass	  Utility code for direct access to the SPI bus on Intel 8257x.
88c294ac5cSSimon Glass	  This does not do anything useful unless you set at least one
89c294ac5cSSimon Glass	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
90c294ac5cSSimon Glass
91c294ac5cSSimon Glassconfig CMD_E1000
92c294ac5cSSimon Glass	bool "Enable the e1000 command"
93c294ac5cSSimon Glass	depends on E1000
94c294ac5cSSimon Glass	help
95c294ac5cSSimon Glass	  This enables the 'e1000' management command for E1000 devices. When
96c294ac5cSSimon Glass	  used on devices with SPI support you can reprogram the EEPROM from
97c294ac5cSSimon Glass	  U-Boot.
98c294ac5cSSimon Glass
993ea143abSJoe Hershbergerconfig ETH_SANDBOX
1003ea143abSJoe Hershberger	depends on DM_ETH && SANDBOX
1013ea143abSJoe Hershberger	default y
1023ea143abSJoe Hershberger	bool "Sandbox: Mocked Ethernet driver"
1033ea143abSJoe Hershberger	help
1043ea143abSJoe Hershberger	  This driver simply responds with fake ARP replies and ping
1053ea143abSJoe Hershberger	  replies that are used to verify network stack functionality
1063ea143abSJoe Hershberger
1073ea143abSJoe Hershberger	  This driver is particularly useful in the test/dm/eth.c tests
1083ea143abSJoe Hershberger
109a346ca79SJoe Hershbergerconfig ETH_SANDBOX_RAW
110a346ca79SJoe Hershberger	depends on DM_ETH && SANDBOX
111a346ca79SJoe Hershberger	default y
112a346ca79SJoe Hershberger	bool "Sandbox: Bridge to Linux Raw Sockets"
113a346ca79SJoe Hershberger	help
114a346ca79SJoe Hershberger	  This driver is a bridge from the bottom of the network stack
115a346ca79SJoe Hershberger	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
116a346ca79SJoe Hershberger	  network traffic to be tested from within sandbox. See
117a346ca79SJoe Hershberger	  board/sandbox/README.sandbox for more details.
118a346ca79SJoe Hershberger
119ef48f6ddSSimon Glassconfig ETH_DESIGNWARE
120ef48f6ddSSimon Glass	bool "Synopsys Designware Ethernet MAC"
12125af71c4SThomas Chou	select PHYLIB
122ef48f6ddSSimon Glass	help
123ef48f6ddSSimon Glass	  This MAC is present in SoCs from various vendors. It supports
124ef48f6ddSSimon Glass	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
125ef48f6ddSSimon Glass	  provide the PHY (physical media interface).
126ef48f6ddSSimon Glass
127f0727120SMax Filippovconfig ETHOC
128f0727120SMax Filippov	bool "OpenCores 10/100 Mbps Ethernet MAC"
129f0727120SMax Filippov	help
130f0727120SMax Filippov	  This MAC is present in OpenRISC and Xtensa XTFPGA boards.
131f0727120SMax Filippov
132*97d29ca3SJagan Tekiconfig FEC_MXC
133*97d29ca3SJagan Teki	bool "FEC Ethernet controller"
134*97d29ca3SJagan Teki	depends on MX6
135*97d29ca3SJagan Teki	help
136*97d29ca3SJagan Teki	  This driver supports the 10/100 Fast Ethernet controller for
137*97d29ca3SJagan Teki	  NXP i.MX processors.
138*97d29ca3SJagan Teki
13999d4c6d3SStefan Roeseconfig MVPP2
14099d4c6d3SStefan Roese	bool "Marvell Armada 375 network interface support"
14199d4c6d3SStefan Roese	depends on ARMADA_375
14299d4c6d3SStefan Roese	select PHYLIB
14399d4c6d3SStefan Roese	help
14499d4c6d3SStefan Roese	  This driver supports the network interface units in the
14599d4c6d3SStefan Roese	  Marvell ARMADA 375 SoC.
14699d4c6d3SStefan Roese
147b68fe152SBin Mengconfig PCH_GBE
148b68fe152SBin Meng	bool "Intel Platform Controller Hub EG20T GMAC driver"
149b68fe152SBin Meng	depends on DM_ETH && DM_PCI
150b68fe152SBin Meng	select PHYLIB
151b68fe152SBin Meng	help
152b68fe152SBin Meng	  This MAC is present in Intel Platform Controller Hub EG20T. It
153b68fe152SBin Meng	  supports 10/100/1000 Mbps operation.
154b68fe152SBin Meng
15586e9dc86SBin Mengconfig RTL8139
15686e9dc86SBin Meng	bool "Realtek 8139 series Ethernet controller driver"
15786e9dc86SBin Meng	help
15886e9dc86SBin Meng	  This driver supports Realtek 8139 series fast ethernet family of
15986e9dc86SBin Meng	  PCI chipsets/adapters.
16086e9dc86SBin Meng
1610764f24aSBin Mengconfig RTL8169
1620764f24aSBin Meng	bool "Realtek 8169 series Ethernet controller driver"
1630764f24aSBin Meng	help
1640764f24aSBin Meng	  This driver supports Realtek 8169 series gigabit ethernet family of
1650764f24aSBin Meng	  PCI/PCIe chipsets/adapters.
1660764f24aSBin Meng
167a29710c5SAmit Singh Tomarconfig SUN8I_EMAC
168a29710c5SAmit Singh Tomar        bool "Allwinner Sun8i Ethernet MAC support"
169a29710c5SAmit Singh Tomar        depends on DM_ETH
170a29710c5SAmit Singh Tomar        select PHYLIB
171a29710c5SAmit Singh Tomar        help
172a29710c5SAmit Singh Tomar          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
173a29710c5SAmit Singh Tomar	  It can be found in H3/A64/A83T based SoCs and compatible with both
174a29710c5SAmit Singh Tomar	  External and Internal PHY's.
175a29710c5SAmit Singh Tomar
176338a5f2bSMichal Simekconfig XILINX_AXIEMAC
177338a5f2bSMichal Simek	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
178338a5f2bSMichal Simek	select PHYLIB
179338a5f2bSMichal Simek	select MII
180338a5f2bSMichal Simek	bool "Xilinx AXI Ethernet"
181338a5f2bSMichal Simek	help
182338a5f2bSMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
183338a5f2bSMichal Simek
1843229c869SMichal Simekconfig XILINX_EMACLITE
1852f1f05f4SZubair Lutfullah Kakakhel	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
1863229c869SMichal Simek	select PHYLIB
1873229c869SMichal Simek	select MII
1883229c869SMichal Simek	bool "Xilinx Ethernetlite"
1893229c869SMichal Simek	help
1903229c869SMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
1913229c869SMichal Simek
192596e5782SMichal Simekconfig ZYNQ_GEM
193596e5782SMichal Simek	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
1947bccc75aSMichal Simek	select PHYLIB
195596e5782SMichal Simek	bool "Xilinx Ethernet GEM"
196596e5782SMichal Simek	help
197c9428107SMichal Simek	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
198596e5782SMichal Simek
19923e7578cSPurna Chandra Mandalconfig PIC32_ETH
20023e7578cSPurna Chandra Mandal	bool "Microchip PIC32 Ethernet Support"
20123e7578cSPurna Chandra Mandal	depends on DM_ETH && MACH_PIC32
20223e7578cSPurna Chandra Mandal	select PHYLIB
20323e7578cSPurna Chandra Mandal	help
20423e7578cSPurna Chandra Mandal	  This driver implements 10/100 Mbps Ethernet and MAC layer for
20523e7578cSPurna Chandra Mandal	  Microchip PIC32 microcontrollers.
20623e7578cSPurna Chandra Mandal
2073ea143abSJoe Hershbergerendif # NETDEVICES
208