xref: /openbmc/u-boot/drivers/net/Kconfig (revision b68fe15227251e3b0134f5f8f3ca05d07fd7efe1)
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
11*b68fe152SBin Mengconfig PHYLIB
12*b68fe152SBin Meng	bool "Ethernet PHY (physical media interface) support"
13*b68fe152SBin Meng	help
14*b68fe152SBin Meng	  Enable Ethernet PHY (physical media interface) support.
15*b68fe152SBin 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
28c294ac5cSSimon Glassconfig E1000
29c294ac5cSSimon Glass	bool "Intel PRO/1000 Gigabit Ethernet support"
30c294ac5cSSimon Glass	help
31c294ac5cSSimon Glass	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
32c294ac5cSSimon Glass	  adapters.  For more information on how to identify your adapter, go
33c294ac5cSSimon Glass	  to the Adapter & Driver ID Guide at:
34c294ac5cSSimon Glass
35c294ac5cSSimon Glass	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
36c294ac5cSSimon Glass
37c294ac5cSSimon Glassconfig E1000_SPI_GENERIC
38c294ac5cSSimon Glass	bool "Allow access to the Intel 8257x SPI bus"
39c294ac5cSSimon Glass	depends on E1000
40c294ac5cSSimon Glass	help
41c294ac5cSSimon Glass	  Allow generic access to the SPI bus on the Intel 8257x, for
42c294ac5cSSimon Glass	  example with the "sspi" command.
43c294ac5cSSimon Glass
44c294ac5cSSimon Glassconfig E1000_SPI
45c294ac5cSSimon Glass	bool "Enable SPI bus utility code"
46c294ac5cSSimon Glass	depends on E1000
47c294ac5cSSimon Glass	help
48c294ac5cSSimon Glass	  Utility code for direct access to the SPI bus on Intel 8257x.
49c294ac5cSSimon Glass	  This does not do anything useful unless you set at least one
50c294ac5cSSimon Glass	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
51c294ac5cSSimon Glass
52c294ac5cSSimon Glassconfig CMD_E1000
53c294ac5cSSimon Glass	bool "Enable the e1000 command"
54c294ac5cSSimon Glass	depends on E1000
55c294ac5cSSimon Glass	help
56c294ac5cSSimon Glass	  This enables the 'e1000' management command for E1000 devices. When
57c294ac5cSSimon Glass	  used on devices with SPI support you can reprogram the EEPROM from
58c294ac5cSSimon Glass	  U-Boot.
59c294ac5cSSimon Glass
603ea143abSJoe Hershbergerconfig ETH_SANDBOX
613ea143abSJoe Hershberger	depends on DM_ETH && SANDBOX
623ea143abSJoe Hershberger	default y
633ea143abSJoe Hershberger	bool "Sandbox: Mocked Ethernet driver"
643ea143abSJoe Hershberger	help
653ea143abSJoe Hershberger	  This driver simply responds with fake ARP replies and ping
663ea143abSJoe Hershberger	  replies that are used to verify network stack functionality
673ea143abSJoe Hershberger
683ea143abSJoe Hershberger	  This driver is particularly useful in the test/dm/eth.c tests
693ea143abSJoe Hershberger
70a346ca79SJoe Hershbergerconfig ETH_SANDBOX_RAW
71a346ca79SJoe Hershberger	depends on DM_ETH && SANDBOX
72a346ca79SJoe Hershberger	default y
73a346ca79SJoe Hershberger	bool "Sandbox: Bridge to Linux Raw Sockets"
74a346ca79SJoe Hershberger	help
75a346ca79SJoe Hershberger	  This driver is a bridge from the bottom of the network stack
76a346ca79SJoe Hershberger	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
77a346ca79SJoe Hershberger	  network traffic to be tested from within sandbox. See
78a346ca79SJoe Hershberger	  board/sandbox/README.sandbox for more details.
79a346ca79SJoe Hershberger
80ef48f6ddSSimon Glassconfig ETH_DESIGNWARE
81ef48f6ddSSimon Glass	bool "Synopsys Designware Ethernet MAC"
82ef48f6ddSSimon Glass	help
83ef48f6ddSSimon Glass	  This MAC is present in SoCs from various vendors. It supports
84ef48f6ddSSimon Glass	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
85ef48f6ddSSimon Glass	  provide the PHY (physical media interface).
86ef48f6ddSSimon Glass
87*b68fe152SBin Mengconfig PCH_GBE
88*b68fe152SBin Meng	bool "Intel Platform Controller Hub EG20T GMAC driver"
89*b68fe152SBin Meng	depends on DM_ETH && DM_PCI
90*b68fe152SBin Meng	select PHYLIB
91*b68fe152SBin Meng	help
92*b68fe152SBin Meng	  This MAC is present in Intel Platform Controller Hub EG20T. It
93*b68fe152SBin Meng	  supports 10/100/1000 Mbps operation.
94*b68fe152SBin Meng
953ea143abSJoe Hershbergerendif # NETDEVICES
96