xref: /openbmc/u-boot/drivers/net/Kconfig (revision c9428107)
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
163ea143abSJoe Hershbergermenuconfig NETDEVICES
173ea143abSJoe Hershberger	bool "Network device support"
183ea143abSJoe Hershberger	depends on NET
19ef0f2f57SJoe Hershberger	default y if DM_ETH
203ea143abSJoe Hershberger	help
213ea143abSJoe Hershberger	  You must select Y to enable any network device support
223ea143abSJoe Hershberger	  Generally if you have any networking support this is a given
233ea143abSJoe Hershberger
243ea143abSJoe Hershberger	  If unsure, say Y
253ea143abSJoe Hershberger
263ea143abSJoe Hershbergerif NETDEVICES
273ea143abSJoe Hershberger
2896fa1e43SThomas Chouconfig ALTERA_TSE
2996fa1e43SThomas Chou	bool "Altera Triple-Speed Ethernet MAC support"
3096fa1e43SThomas Chou	depends on DM_ETH
3196fa1e43SThomas Chou	select PHYLIB
3296fa1e43SThomas Chou	help
3396fa1e43SThomas Chou	  This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
3496fa1e43SThomas Chou	  Please find details on the "Triple-Speed Ethernet MegaCore Function
3596fa1e43SThomas Chou	  Resource Center" of Altera.
3696fa1e43SThomas Chou
37c294ac5cSSimon Glassconfig E1000
38c294ac5cSSimon Glass	bool "Intel PRO/1000 Gigabit Ethernet support"
39c294ac5cSSimon Glass	help
40c294ac5cSSimon Glass	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
41c294ac5cSSimon Glass	  adapters.  For more information on how to identify your adapter, go
42c294ac5cSSimon Glass	  to the Adapter & Driver ID Guide at:
43c294ac5cSSimon Glass
44c294ac5cSSimon Glass	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
45c294ac5cSSimon Glass
46c294ac5cSSimon Glassconfig E1000_SPI_GENERIC
47c294ac5cSSimon Glass	bool "Allow access to the Intel 8257x SPI bus"
48c294ac5cSSimon Glass	depends on E1000
49c294ac5cSSimon Glass	help
50c294ac5cSSimon Glass	  Allow generic access to the SPI bus on the Intel 8257x, for
51c294ac5cSSimon Glass	  example with the "sspi" command.
52c294ac5cSSimon Glass
53c294ac5cSSimon Glassconfig E1000_SPI
54c294ac5cSSimon Glass	bool "Enable SPI bus utility code"
55c294ac5cSSimon Glass	depends on E1000
56c294ac5cSSimon Glass	help
57c294ac5cSSimon Glass	  Utility code for direct access to the SPI bus on Intel 8257x.
58c294ac5cSSimon Glass	  This does not do anything useful unless you set at least one
59c294ac5cSSimon Glass	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
60c294ac5cSSimon Glass
61c294ac5cSSimon Glassconfig CMD_E1000
62c294ac5cSSimon Glass	bool "Enable the e1000 command"
63c294ac5cSSimon Glass	depends on E1000
64c294ac5cSSimon Glass	help
65c294ac5cSSimon Glass	  This enables the 'e1000' management command for E1000 devices. When
66c294ac5cSSimon Glass	  used on devices with SPI support you can reprogram the EEPROM from
67c294ac5cSSimon Glass	  U-Boot.
68c294ac5cSSimon Glass
693ea143abSJoe Hershbergerconfig ETH_SANDBOX
703ea143abSJoe Hershberger	depends on DM_ETH && SANDBOX
713ea143abSJoe Hershberger	default y
723ea143abSJoe Hershberger	bool "Sandbox: Mocked Ethernet driver"
733ea143abSJoe Hershberger	help
743ea143abSJoe Hershberger	  This driver simply responds with fake ARP replies and ping
753ea143abSJoe Hershberger	  replies that are used to verify network stack functionality
763ea143abSJoe Hershberger
773ea143abSJoe Hershberger	  This driver is particularly useful in the test/dm/eth.c tests
783ea143abSJoe Hershberger
79a346ca79SJoe Hershbergerconfig ETH_SANDBOX_RAW
80a346ca79SJoe Hershberger	depends on DM_ETH && SANDBOX
81a346ca79SJoe Hershberger	default y
82a346ca79SJoe Hershberger	bool "Sandbox: Bridge to Linux Raw Sockets"
83a346ca79SJoe Hershberger	help
84a346ca79SJoe Hershberger	  This driver is a bridge from the bottom of the network stack
85a346ca79SJoe Hershberger	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
86a346ca79SJoe Hershberger	  network traffic to be tested from within sandbox. See
87a346ca79SJoe Hershberger	  board/sandbox/README.sandbox for more details.
88a346ca79SJoe Hershberger
89ef48f6ddSSimon Glassconfig ETH_DESIGNWARE
90ef48f6ddSSimon Glass	bool "Synopsys Designware Ethernet MAC"
91ef48f6ddSSimon Glass	help
92ef48f6ddSSimon Glass	  This MAC is present in SoCs from various vendors. It supports
93ef48f6ddSSimon Glass	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
94ef48f6ddSSimon Glass	  provide the PHY (physical media interface).
95ef48f6ddSSimon Glass
96b68fe152SBin Mengconfig PCH_GBE
97b68fe152SBin Meng	bool "Intel Platform Controller Hub EG20T GMAC driver"
98b68fe152SBin Meng	depends on DM_ETH && DM_PCI
99b68fe152SBin Meng	select PHYLIB
100b68fe152SBin Meng	help
101b68fe152SBin Meng	  This MAC is present in Intel Platform Controller Hub EG20T. It
102b68fe152SBin Meng	  supports 10/100/1000 Mbps operation.
103b68fe152SBin Meng
104596e5782SMichal Simekconfig ZYNQ_GEM
105596e5782SMichal Simek	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
106596e5782SMichal Simek	bool "Xilinx Ethernet GEM"
107596e5782SMichal Simek	help
108*c9428107SMichal Simek	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
109596e5782SMichal Simek
1103ea143abSJoe Hershbergerendif # NETDEVICES
111