xref: /openbmc/u-boot/drivers/net/Kconfig (revision 2e33df80)
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	select PHYLIB
92	help
93	  This MAC is present in SoCs from various vendors. It supports
94	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
95	  provide the PHY (physical media interface).
96
97config PCH_GBE
98	bool "Intel Platform Controller Hub EG20T GMAC driver"
99	depends on DM_ETH && DM_PCI
100	select PHYLIB
101	help
102	  This MAC is present in Intel Platform Controller Hub EG20T. It
103	  supports 10/100/1000 Mbps operation.
104
105config XILINX_AXIEMAC
106	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
107	select PHYLIB
108	select MII
109	bool "Xilinx AXI Ethernet"
110	help
111	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
112
113config XILINX_EMACLITE
114	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
115	select PHYLIB
116	select MII
117	bool "Xilinx Ethernetlite"
118	help
119	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
120
121config ZYNQ_GEM
122	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
123	select PHYLIB
124	bool "Xilinx Ethernet GEM"
125	help
126	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
127
128config PIC32_ETH
129	bool "Microchip PIC32 Ethernet Support"
130	depends on DM_ETH && MACH_PIC32
131	select PHYLIB
132	help
133	  This driver implements 10/100 Mbps Ethernet and MAC layer for
134	  Microchip PIC32 microcontrollers.
135
136endif # NETDEVICES
137