xref: /openbmc/u-boot/drivers/net/Kconfig (revision bf9012b8)
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 FTMAC100
127	bool "Ftmac100 Ethernet Support"
128	help
129	  This MAC is present in Andestech SoCs.
130
131config MVPP2
132	bool "Marvell Armada 375/7K/8K network interface support"
133	depends on ARMADA_375 || ARMADA_8K
134	select PHYLIB
135	help
136	  This driver supports the network interface units in the
137	  Marvell ARMADA 375, 7K and 8K SoCs.
138
139config MACB
140	bool "Cadence MACB/GEM Ethernet Interface"
141	depends on DM_ETH
142	select PHYLIB
143	help
144	  The Cadence MACB ethernet interface is found on many Atmel
145	  AT91 and SAMA5 parts.  This driver also supports the Cadence
146	  GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
147	  Say Y to include support for the MACB/GEM chip.
148
149config PCH_GBE
150	bool "Intel Platform Controller Hub EG20T GMAC driver"
151	depends on DM_ETH && DM_PCI
152	select PHYLIB
153	help
154	  This MAC is present in Intel Platform Controller Hub EG20T. It
155	  supports 10/100/1000 Mbps operation.
156
157config RGMII
158	bool "Enable RGMII"
159	help
160	  Enable the support of the Reduced Gigabit Media-Independent
161	  Interface (RGMII).
162
163config RTL8139
164	bool "Realtek 8139 series Ethernet controller driver"
165	help
166	  This driver supports Realtek 8139 series fast ethernet family of
167	  PCI chipsets/adapters.
168
169config RTL8169
170	bool "Realtek 8169 series Ethernet controller driver"
171	help
172	  This driver supports Realtek 8169 series gigabit ethernet family of
173	  PCI/PCIe chipsets/adapters.
174
175config SUN7I_GMAC
176	bool "Enable Allwinner GMAC Ethernet support"
177	help
178	  Enable the support for Sun7i GMAC Ethernet controller
179
180config SUN4I_EMAC
181	bool "Allwinner Sun4i Ethernet MAC support"
182	depends on DM_ETH
183	help
184	  This driver supports the Allwinner based SUN4I Ethernet MAC.
185
186config SUN8I_EMAC
187        bool "Allwinner Sun8i Ethernet MAC support"
188        depends on DM_ETH
189        select PHYLIB
190        help
191          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
192	  It can be found in H3/A64/A83T based SoCs and compatible with both
193	  External and Internal PHYs.
194
195config XILINX_AXIEMAC
196	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
197	select PHYLIB
198	select MII
199	bool "Xilinx AXI Ethernet"
200	help
201	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
202
203config XILINX_EMACLITE
204	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
205	select PHYLIB
206	select MII
207	bool "Xilinx Ethernetlite"
208	help
209	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
210
211config ZYNQ_GEM
212	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
213	select PHYLIB
214	bool "Xilinx Ethernet GEM"
215	help
216	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
217
218config PIC32_ETH
219	bool "Microchip PIC32 Ethernet Support"
220	depends on DM_ETH && MACH_PIC32
221	select PHYLIB
222	help
223	  This driver implements 10/100 Mbps Ethernet and MAC layer for
224	  Microchip PIC32 microcontrollers.
225
226config GMAC_ROCKCHIP
227	bool "Rockchip Synopsys Designware Ethernet MAC"
228	depends on DM_ETH && ETH_DESIGNWARE
229	help
230	  This driver provides Rockchip SoCs network support based on the
231	  Synopsys Designware driver.
232
233config RENESAS_RAVB
234	bool "Renesas Ethernet AVB MAC"
235	depends on DM_ETH && RCAR_GEN3
236	select PHYLIB
237	help
238	  This driver implements support for the Ethernet AVB block in
239	  Renesas M3 and H3 SoCs.
240
241endif # NETDEVICES
242