xref: /openbmc/u-boot/drivers/net/Kconfig (revision 5be93569)
1config DM_ETH
2	bool "Enable Driver Model for Ethernet drivers"
3	depends on DM
4	help
5	  Enable driver model for Ethernet.
6
7	  The eth_*() interface will be implemented by the UC_ETH class
8	  This is currently implemented in net/eth.c
9	  Look in include/net.h for details.
10
11config PHYLIB
12	bool "Ethernet PHY (physical media interface) support"
13	help
14	  Enable Ethernet PHY (physical media interface) support.
15
16menuconfig NETDEVICES
17	bool "Network device support"
18	depends on NET
19	default y if DM_ETH
20	help
21	  You must select Y to enable any network device support
22	  Generally if you have any networking support this is a given
23
24	  If unsure, say Y
25
26if NETDEVICES
27
28config ALTERA_TSE
29	bool "Altera Triple-Speed Ethernet MAC support"
30	depends on DM_ETH
31	select PHYLIB
32	help
33	  This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
34	  Please find details on the "Triple-Speed Ethernet MegaCore Function
35	  Resource Center" of Altera.
36
37config E1000
38	bool "Intel PRO/1000 Gigabit Ethernet support"
39	help
40	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
41	  adapters.  For more information on how to identify your adapter, go
42	  to the Adapter & Driver ID Guide at:
43
44	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
45
46config E1000_SPI_GENERIC
47	bool "Allow access to the Intel 8257x SPI bus"
48	depends on E1000
49	help
50	  Allow generic access to the SPI bus on the Intel 8257x, for
51	  example with the "sspi" command.
52
53config E1000_SPI
54	bool "Enable SPI bus utility code"
55	depends on E1000
56	help
57	  Utility code for direct access to the SPI bus on Intel 8257x.
58	  This does not do anything useful unless you set at least one
59	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
60
61config CMD_E1000
62	bool "Enable the e1000 command"
63	depends on E1000
64	help
65	  This enables the 'e1000' management command for E1000 devices. When
66	  used on devices with SPI support you can reprogram the EEPROM from
67	  U-Boot.
68
69config ETH_SANDBOX
70	depends on DM_ETH && SANDBOX
71	default y
72	bool "Sandbox: Mocked Ethernet driver"
73	help
74	  This driver simply responds with fake ARP replies and ping
75	  replies that are used to verify network stack functionality
76
77	  This driver is particularly useful in the test/dm/eth.c tests
78
79config ETH_SANDBOX_RAW
80	depends on DM_ETH && SANDBOX
81	default y
82	bool "Sandbox: Bridge to Linux Raw Sockets"
83	help
84	  This driver is a bridge from the bottom of the network stack
85	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
86	  network traffic to be tested from within sandbox. See
87	  board/sandbox/README.sandbox for more details.
88
89config ETH_DESIGNWARE
90	bool "Synopsys Designware Ethernet MAC"
91	help
92	  This MAC is present in SoCs from various vendors. It supports
93	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
94	  provide the PHY (physical media interface).
95
96config PCH_GBE
97	bool "Intel Platform Controller Hub EG20T GMAC driver"
98	depends on DM_ETH && DM_PCI
99	select PHYLIB
100	help
101	  This MAC is present in Intel Platform Controller Hub EG20T. It
102	  supports 10/100/1000 Mbps operation.
103
104endif # NETDEVICES
105