xref: /openbmc/u-boot/drivers/net/Kconfig (revision 4bb656e9)
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 RTL8139
106	bool "Realtek 8139 series Ethernet controller driver"
107	help
108	  This driver supports Realtek 8139 series fast ethernet family of
109	  PCI chipsets/adapters.
110
111config RTL8169
112	bool "Realtek 8169 series Ethernet controller driver"
113	help
114	  This driver supports Realtek 8169 series gigabit ethernet family of
115	  PCI/PCIe chipsets/adapters.
116
117config XILINX_AXIEMAC
118	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
119	select PHYLIB
120	select MII
121	bool "Xilinx AXI Ethernet"
122	help
123	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
124
125config XILINX_EMACLITE
126	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
127	select PHYLIB
128	select MII
129	bool "Xilinx Ethernetlite"
130	help
131	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
132
133config ZYNQ_GEM
134	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
135	select PHYLIB
136	bool "Xilinx Ethernet GEM"
137	help
138	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
139
140config PIC32_ETH
141	bool "Microchip PIC32 Ethernet Support"
142	depends on DM_ETH && MACH_PIC32
143	select PHYLIB
144	help
145	  This driver implements 10/100 Mbps Ethernet and MAC layer for
146	  Microchip PIC32 microcontrollers.
147
148endif # NETDEVICES
149