xref: /openbmc/u-boot/drivers/net/Kconfig (revision 00fc38ae)
1source "drivers/net/phy/Kconfig"
2
3config DM_ETH
4	bool "Enable Driver Model for Ethernet drivers"
5	depends on DM
6	help
7	  Enable driver model for Ethernet.
8
9	  The eth_*() interface will be implemented by the UC_ETH class
10	  This is currently implemented in net/eth.c
11	  Look in include/net.h for details.
12
13menuconfig NETDEVICES
14	bool "Network device support"
15	depends on NET
16	default y if DM_ETH
17	help
18	  You must select Y to enable any network device support
19	  Generally if you have any networking support this is a given
20
21	  If unsure, say Y
22
23if NETDEVICES
24
25config AG7XXX
26	bool "Atheros AG7xxx Ethernet MAC support"
27	depends on DM_ETH && ARCH_ATH79
28	select PHYLIB
29	help
30	  This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
31	  present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
32
33
34config ALTERA_TSE
35	bool "Altera Triple-Speed Ethernet MAC support"
36	depends on DM_ETH
37	select PHYLIB
38	help
39	  This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
40	  Please find details on the "Triple-Speed Ethernet MegaCore Function
41	  Resource Center" of Altera.
42
43config DWC_ETH_QOS
44	bool "Synopsys DWC Ethernet QOS device support"
45	depends on DM_ETH
46	select PHYLIB
47	help
48	  This driver supports the Synopsys Designware Ethernet QOS (Quality
49	  Of Service) IP block. The IP supports many options for bus type,
50	  clocking/reset structure, and feature list. This driver currently
51	  supports the specific configuration used in NVIDIA's Tegra186 chip,
52	  but should be extensible to other combinations quite easily.
53
54config E1000
55	bool "Intel PRO/1000 Gigabit Ethernet support"
56	help
57	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
58	  adapters.  For more information on how to identify your adapter, go
59	  to the Adapter & Driver ID Guide at:
60
61	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
62
63config E1000_SPI_GENERIC
64	bool "Allow access to the Intel 8257x SPI bus"
65	depends on E1000
66	help
67	  Allow generic access to the SPI bus on the Intel 8257x, for
68	  example with the "sspi" command.
69
70config E1000_SPI
71	bool "Enable SPI bus utility code"
72	depends on E1000
73	help
74	  Utility code for direct access to the SPI bus on Intel 8257x.
75	  This does not do anything useful unless you set at least one
76	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
77
78config CMD_E1000
79	bool "Enable the e1000 command"
80	depends on E1000
81	help
82	  This enables the 'e1000' management command for E1000 devices. When
83	  used on devices with SPI support you can reprogram the EEPROM from
84	  U-Boot.
85
86config ETH_SANDBOX
87	depends on DM_ETH && SANDBOX
88	default y
89	bool "Sandbox: Mocked Ethernet driver"
90	help
91	  This driver simply responds with fake ARP replies and ping
92	  replies that are used to verify network stack functionality
93
94	  This driver is particularly useful in the test/dm/eth.c tests
95
96config ETH_SANDBOX_RAW
97	depends on DM_ETH && SANDBOX
98	default y
99	bool "Sandbox: Bridge to Linux Raw Sockets"
100	help
101	  This driver is a bridge from the bottom of the network stack
102	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
103	  network traffic to be tested from within sandbox. See
104	  board/sandbox/README.sandbox for more details.
105
106config ETH_DESIGNWARE
107	bool "Synopsys Designware Ethernet MAC"
108	select PHYLIB
109	help
110	  This MAC is present in SoCs from various vendors. It supports
111	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
112	  provide the PHY (physical media interface).
113
114config ETHOC
115	bool "OpenCores 10/100 Mbps Ethernet MAC"
116	help
117	  This MAC is present in OpenRISC and Xtensa XTFPGA boards.
118
119config FEC_MXC
120	bool "FEC Ethernet controller"
121	depends on MX5 || MX6
122	help
123	  This driver supports the 10/100 Fast Ethernet controller for
124	  NXP i.MX processors.
125
126config MVPP2
127	bool "Marvell Armada 375/7K/8K network interface support"
128	depends on ARMADA_375 || ARMADA_8K
129	select PHYLIB
130	help
131	  This driver supports the network interface units in the
132	  Marvell ARMADA 375, 7K and 8K SoCs.
133
134config MACB
135	bool "Cadence MACB/GEM Ethernet Interface"
136	depends on DM_ETH
137	select PHYLIB
138	help
139	  The Cadence MACB ethernet interface is found on many Atmel
140	  AT91 and SAMA5 parts.  This driver also supports the Cadence
141	  GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
142	  Say Y to include support for the MACB/GEM chip.
143
144config PCH_GBE
145	bool "Intel Platform Controller Hub EG20T GMAC driver"
146	depends on DM_ETH && DM_PCI
147	select PHYLIB
148	help
149	  This MAC is present in Intel Platform Controller Hub EG20T. It
150	  supports 10/100/1000 Mbps operation.
151
152config RGMII
153	bool "Enable RGMII"
154	help
155	  Enable the support of the Reduced Gigabit Media-Independent
156	  Interface (RGMII).
157
158config RTL8139
159	bool "Realtek 8139 series Ethernet controller driver"
160	help
161	  This driver supports Realtek 8139 series fast ethernet family of
162	  PCI chipsets/adapters.
163
164config RTL8169
165	bool "Realtek 8169 series Ethernet controller driver"
166	help
167	  This driver supports Realtek 8169 series gigabit ethernet family of
168	  PCI/PCIe chipsets/adapters.
169
170config SUN7I_GMAC
171	bool "Enable Allwinner GMAC Ethernet support"
172	help
173	  Enable the support for Sun7i GMAC Ethernet controller
174
175config SUN4I_EMAC
176	bool "Allwinner Sun4i Ethernet MAC support"
177	depends on DM_ETH
178	help
179	  This driver supports the Allwinner based SUN4I Ethernet MAC.
180
181config SUN8I_EMAC
182        bool "Allwinner Sun8i Ethernet MAC support"
183        depends on DM_ETH
184        select PHYLIB
185        help
186          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
187	  It can be found in H3/A64/A83T based SoCs and compatible with both
188	  External and Internal PHYs.
189
190config XILINX_AXIEMAC
191	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
192	select PHYLIB
193	select MII
194	bool "Xilinx AXI Ethernet"
195	help
196	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
197
198config XILINX_EMACLITE
199	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
200	select PHYLIB
201	select MII
202	bool "Xilinx Ethernetlite"
203	help
204	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
205
206config ZYNQ_GEM
207	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
208	select PHYLIB
209	bool "Xilinx Ethernet GEM"
210	help
211	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
212
213config PIC32_ETH
214	bool "Microchip PIC32 Ethernet Support"
215	depends on DM_ETH && MACH_PIC32
216	select PHYLIB
217	help
218	  This driver implements 10/100 Mbps Ethernet and MAC layer for
219	  Microchip PIC32 microcontrollers.
220
221config GMAC_ROCKCHIP
222	bool "Rockchip Synopsys Designware Ethernet MAC"
223	depends on DM_ETH && ETH_DESIGNWARE
224	help
225	  This driver provides Rockchip SoCs network support based on the
226	  Synopsys Designware driver.
227
228endif # NETDEVICES
229