xref: /openbmc/u-boot/drivers/net/Kconfig (revision e40095f63b4bc0edd747c7f104d3e54db61e7d3d)
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
49*e40095f6SMarek Vasutconfig AG7XXX
50*e40095f6SMarek Vasut	bool "Atheros AG7xxx Ethernet MAC support"
51*e40095f6SMarek Vasut	depends on DM_ETH && ARCH_ATH79
52*e40095f6SMarek Vasut	select PHYLIB
53*e40095f6SMarek Vasut	help
54*e40095f6SMarek Vasut	  This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
55*e40095f6SMarek Vasut	  present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
56*e40095f6SMarek Vasut
57*e40095f6SMarek 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
12799d4c6d3SStefan Roeseconfig MVPP2
12899d4c6d3SStefan Roese	bool "Marvell Armada 375 network interface support"
12999d4c6d3SStefan Roese	depends on ARMADA_375
13099d4c6d3SStefan Roese	select PHYLIB
13199d4c6d3SStefan Roese	help
13299d4c6d3SStefan Roese	  This driver supports the network interface units in the
13399d4c6d3SStefan Roese	  Marvell ARMADA 375 SoC.
13499d4c6d3SStefan Roese
135b68fe152SBin Mengconfig PCH_GBE
136b68fe152SBin Meng	bool "Intel Platform Controller Hub EG20T GMAC driver"
137b68fe152SBin Meng	depends on DM_ETH && DM_PCI
138b68fe152SBin Meng	select PHYLIB
139b68fe152SBin Meng	help
140b68fe152SBin Meng	  This MAC is present in Intel Platform Controller Hub EG20T. It
141b68fe152SBin Meng	  supports 10/100/1000 Mbps operation.
142b68fe152SBin Meng
14386e9dc86SBin Mengconfig RTL8139
14486e9dc86SBin Meng	bool "Realtek 8139 series Ethernet controller driver"
14586e9dc86SBin Meng	help
14686e9dc86SBin Meng	  This driver supports Realtek 8139 series fast ethernet family of
14786e9dc86SBin Meng	  PCI chipsets/adapters.
14886e9dc86SBin Meng
1490764f24aSBin Mengconfig RTL8169
1500764f24aSBin Meng	bool "Realtek 8169 series Ethernet controller driver"
1510764f24aSBin Meng	help
1520764f24aSBin Meng	  This driver supports Realtek 8169 series gigabit ethernet family of
1530764f24aSBin Meng	  PCI/PCIe chipsets/adapters.
1540764f24aSBin Meng
155338a5f2bSMichal Simekconfig XILINX_AXIEMAC
156338a5f2bSMichal Simek	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
157338a5f2bSMichal Simek	select PHYLIB
158338a5f2bSMichal Simek	select MII
159338a5f2bSMichal Simek	bool "Xilinx AXI Ethernet"
160338a5f2bSMichal Simek	help
161338a5f2bSMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
162338a5f2bSMichal Simek
1633229c869SMichal Simekconfig XILINX_EMACLITE
1643229c869SMichal Simek	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
1653229c869SMichal Simek	select PHYLIB
1663229c869SMichal Simek	select MII
1673229c869SMichal Simek	bool "Xilinx Ethernetlite"
1683229c869SMichal Simek	help
1693229c869SMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
1703229c869SMichal Simek
171596e5782SMichal Simekconfig ZYNQ_GEM
172596e5782SMichal Simek	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
1737bccc75aSMichal Simek	select PHYLIB
174596e5782SMichal Simek	bool "Xilinx Ethernet GEM"
175596e5782SMichal Simek	help
176c9428107SMichal Simek	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
177596e5782SMichal Simek
17823e7578cSPurna Chandra Mandalconfig PIC32_ETH
17923e7578cSPurna Chandra Mandal	bool "Microchip PIC32 Ethernet Support"
18023e7578cSPurna Chandra Mandal	depends on DM_ETH && MACH_PIC32
18123e7578cSPurna Chandra Mandal	select PHYLIB
18223e7578cSPurna Chandra Mandal	help
18323e7578cSPurna Chandra Mandal	  This driver implements 10/100 Mbps Ethernet and MAC layer for
18423e7578cSPurna Chandra Mandal	  Microchip PIC32 microcontrollers.
18523e7578cSPurna Chandra Mandal
1863ea143abSJoe Hershbergerendif # NETDEVICES
187