xref: /openbmc/u-boot/drivers/net/Kconfig (revision c294ac5c16f5ad5107b051f4a0de46d04d8ce13b)
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
113ea143abSJoe Hershbergermenuconfig NETDEVICES
123ea143abSJoe Hershberger	bool "Network device support"
133ea143abSJoe Hershberger	depends on NET
14ef0f2f57SJoe Hershberger	default y if DM_ETH
153ea143abSJoe Hershberger	help
163ea143abSJoe Hershberger	  You must select Y to enable any network device support
173ea143abSJoe Hershberger	  Generally if you have any networking support this is a given
183ea143abSJoe Hershberger
193ea143abSJoe Hershberger	  If unsure, say Y
203ea143abSJoe Hershberger
213ea143abSJoe Hershbergerif NETDEVICES
223ea143abSJoe Hershberger
23*c294ac5cSSimon Glassconfig E1000
24*c294ac5cSSimon Glass	bool "Intel PRO/1000 Gigabit Ethernet support"
25*c294ac5cSSimon Glass	help
26*c294ac5cSSimon Glass	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
27*c294ac5cSSimon Glass	  adapters.  For more information on how to identify your adapter, go
28*c294ac5cSSimon Glass	  to the Adapter & Driver ID Guide at:
29*c294ac5cSSimon Glass
30*c294ac5cSSimon Glass	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
31*c294ac5cSSimon Glass
32*c294ac5cSSimon Glassconfig E1000_SPI_GENERIC
33*c294ac5cSSimon Glass	bool "Allow access to the Intel 8257x SPI bus"
34*c294ac5cSSimon Glass	depends on E1000
35*c294ac5cSSimon Glass	help
36*c294ac5cSSimon Glass	  Allow generic access to the SPI bus on the Intel 8257x, for
37*c294ac5cSSimon Glass	  example with the "sspi" command.
38*c294ac5cSSimon Glass
39*c294ac5cSSimon Glassconfig E1000_SPI
40*c294ac5cSSimon Glass	bool "Enable SPI bus utility code"
41*c294ac5cSSimon Glass	depends on E1000
42*c294ac5cSSimon Glass	help
43*c294ac5cSSimon Glass	  Utility code for direct access to the SPI bus on Intel 8257x.
44*c294ac5cSSimon Glass	  This does not do anything useful unless you set at least one
45*c294ac5cSSimon Glass	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
46*c294ac5cSSimon Glass
47*c294ac5cSSimon Glassconfig CMD_E1000
48*c294ac5cSSimon Glass	bool "Enable the e1000 command"
49*c294ac5cSSimon Glass	depends on E1000
50*c294ac5cSSimon Glass	help
51*c294ac5cSSimon Glass	  This enables the 'e1000' management command for E1000 devices. When
52*c294ac5cSSimon Glass	  used on devices with SPI support you can reprogram the EEPROM from
53*c294ac5cSSimon Glass	  U-Boot.
54*c294ac5cSSimon Glass
553ea143abSJoe Hershbergerconfig ETH_SANDBOX
563ea143abSJoe Hershberger	depends on DM_ETH && SANDBOX
573ea143abSJoe Hershberger	default y
583ea143abSJoe Hershberger	bool "Sandbox: Mocked Ethernet driver"
593ea143abSJoe Hershberger	help
603ea143abSJoe Hershberger	  This driver simply responds with fake ARP replies and ping
613ea143abSJoe Hershberger	  replies that are used to verify network stack functionality
623ea143abSJoe Hershberger
633ea143abSJoe Hershberger	  This driver is particularly useful in the test/dm/eth.c tests
643ea143abSJoe Hershberger
65a346ca79SJoe Hershbergerconfig ETH_SANDBOX_RAW
66a346ca79SJoe Hershberger	depends on DM_ETH && SANDBOX
67a346ca79SJoe Hershberger	default y
68a346ca79SJoe Hershberger	bool "Sandbox: Bridge to Linux Raw Sockets"
69a346ca79SJoe Hershberger	help
70a346ca79SJoe Hershberger	  This driver is a bridge from the bottom of the network stack
71a346ca79SJoe Hershberger	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
72a346ca79SJoe Hershberger	  network traffic to be tested from within sandbox. See
73a346ca79SJoe Hershberger	  board/sandbox/README.sandbox for more details.
74a346ca79SJoe Hershberger
75ef48f6ddSSimon Glassconfig ETH_DESIGNWARE
76ef48f6ddSSimon Glass	bool "Synopsys Designware Ethernet MAC"
77ef48f6ddSSimon Glass	help
78ef48f6ddSSimon Glass	  This MAC is present in SoCs from various vendors. It supports
79ef48f6ddSSimon Glass	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
80ef48f6ddSSimon Glass	  provide the PHY (physical media interface).
81ef48f6ddSSimon Glass
823ea143abSJoe Hershbergerendif # NETDEVICES
83