Kconfig 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498
  1. source "drivers/net/phy/Kconfig"
  2. source "drivers/net/pfe_eth/Kconfig"
  3. config DM_ETH
  4. bool "Enable Driver Model for Ethernet drivers"
  5. depends on DM
  6. help
  7. Enable driver model for Ethernet.
  8. The eth_*() interface will be implemented by the UCLASS_ETH class
  9. This is currently implemented in net/eth-uclass.c
  10. Look in include/net.h for details.
  11. menuconfig NETDEVICES
  12. bool "Network device support"
  13. depends on NET
  14. default y if DM_ETH
  15. help
  16. You must select Y to enable any network device support
  17. Generally if you have any networking support this is a given
  18. If unsure, say Y
  19. if NETDEVICES
  20. config PHY_GIGE
  21. bool "Enable GbE PHY status parsing and configuration"
  22. help
  23. Enables support for parsing the status output and for
  24. configuring GbE PHYs (affects the inner workings of some
  25. commands and miiphyutil.c).
  26. config AG7XXX
  27. bool "Atheros AG7xxx Ethernet MAC support"
  28. depends on DM_ETH && ARCH_ATH79
  29. select PHYLIB
  30. help
  31. This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
  32. present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
  33. config ALTERA_TSE
  34. bool "Altera Triple-Speed Ethernet MAC support"
  35. depends on DM_ETH
  36. select PHYLIB
  37. help
  38. This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
  39. Please find details on the "Triple-Speed Ethernet MegaCore Function
  40. Resource Center" of Altera.
  41. config BCM_SF2_ETH
  42. bool "Broadcom SF2 (Starfighter2) Ethernet support"
  43. select PHYLIB
  44. help
  45. This is an abstract framework which provides a generic interface
  46. to MAC and DMA management for multiple Broadcom SoCs such as
  47. Cygnus, NSP and bcm28155_ap platforms.
  48. config BCM_SF2_ETH_DEFAULT_PORT
  49. int "Broadcom SF2 (Starfighter2) Ethernet default port number"
  50. depends on BCM_SF2_ETH
  51. default 0
  52. help
  53. Default port number for the Starfighter2 ethernet driver.
  54. config BCM_SF2_ETH_GMAC
  55. bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support"
  56. depends on BCM_SF2_ETH
  57. help
  58. This flag enables the ethernet support for Broadcom platforms with
  59. GMAC such as Cygnus. This driver is based on the framework provided
  60. by the BCM_SF2_ETH driver.
  61. Say Y to any bcmcygnus based platforms.
  62. config DWC_ETH_QOS
  63. bool "Synopsys DWC Ethernet QOS device support"
  64. depends on DM_ETH
  65. select PHYLIB
  66. help
  67. This driver supports the Synopsys Designware Ethernet QOS (Quality
  68. Of Service) IP block. The IP supports many options for bus type,
  69. clocking/reset structure, and feature list. This driver currently
  70. supports the specific configuration used in NVIDIA's Tegra186 chip,
  71. but should be extensible to other combinations quite easily.
  72. config E1000
  73. bool "Intel PRO/1000 Gigabit Ethernet support"
  74. help
  75. This driver supports Intel(R) PRO/1000 gigabit ethernet family of
  76. adapters. For more information on how to identify your adapter, go
  77. to the Adapter & Driver ID Guide at:
  78. <http://support.intel.com/support/network/adapter/pro100/21397.htm>
  79. config E1000_SPI_GENERIC
  80. bool "Allow access to the Intel 8257x SPI bus"
  81. depends on E1000
  82. help
  83. Allow generic access to the SPI bus on the Intel 8257x, for
  84. example with the "sspi" command.
  85. config E1000_SPI
  86. bool "Enable SPI bus utility code"
  87. depends on E1000
  88. help
  89. Utility code for direct access to the SPI bus on Intel 8257x.
  90. This does not do anything useful unless you set at least one
  91. of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
  92. config CMD_E1000
  93. bool "Enable the e1000 command"
  94. depends on E1000
  95. help
  96. This enables the 'e1000' management command for E1000 devices. When
  97. used on devices with SPI support you can reprogram the EEPROM from
  98. U-Boot.
  99. config ETH_SANDBOX
  100. depends on DM_ETH && SANDBOX
  101. default y
  102. bool "Sandbox: Mocked Ethernet driver"
  103. help
  104. This driver simply responds with fake ARP replies and ping
  105. replies that are used to verify network stack functionality
  106. This driver is particularly useful in the test/dm/eth.c tests
  107. config ETH_SANDBOX_RAW
  108. depends on DM_ETH && SANDBOX
  109. default y
  110. bool "Sandbox: Bridge to Linux Raw Sockets"
  111. help
  112. This driver is a bridge from the bottom of the network stack
  113. in U-Boot to the RAW AF_PACKET API in Linux. This allows real
  114. network traffic to be tested from within sandbox. See
  115. board/sandbox/README.sandbox for more details.
  116. config ETH_DESIGNWARE
  117. bool "Synopsys Designware Ethernet MAC"
  118. select PHYLIB
  119. help
  120. This MAC is present in SoCs from various vendors. It supports
  121. 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
  122. provide the PHY (physical media interface).
  123. config ETH_DESIGNWARE_SOCFPGA
  124. bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
  125. depends on DM_ETH && ETH_DESIGNWARE
  126. help
  127. The Altera SoCFPGA requires additional configuration of the
  128. Altera system manager to correctly interface with the PHY.
  129. This code handles those SoC specifics.
  130. config ETHOC
  131. bool "OpenCores 10/100 Mbps Ethernet MAC"
  132. help
  133. This MAC is present in OpenRISC and Xtensa XTFPGA boards.
  134. config FEC_MXC_SHARE_MDIO
  135. bool "Share the MDIO bus for FEC controller"
  136. depends on FEC_MXC
  137. config FEC_MXC_MDIO_BASE
  138. hex "MDIO base address for the FEC controller"
  139. depends on FEC_MXC_SHARE_MDIO
  140. help
  141. This specifies the MDIO registers base address. It is used when
  142. two FEC controllers share MDIO bus.
  143. config FEC_MXC
  144. bool "FEC Ethernet controller"
  145. depends on MX5 || MX6 || MX7 || IMX8
  146. help
  147. This driver supports the 10/100 Fast Ethernet controller for
  148. NXP i.MX processors.
  149. config FTMAC100
  150. bool "Ftmac100 Ethernet Support"
  151. help
  152. This MAC is present in Andestech SoCs.
  153. config FTGMAC100
  154. bool "Ftgmac100 Ethernet Support"
  155. depends on DM_ETH
  156. select PHYLIB
  157. help
  158. This driver supports the Faraday's FTGMAC100 Gigabit SoC
  159. Ethernet controller that can be found on Aspeed SoCs (which
  160. include NCSI).
  161. It is fully compliant with IEEE 802.3 specification for
  162. 10/100 Mbps Ethernet and IEEE 802.3z specification for 1000
  163. Mbps Ethernet and includes Reduced Media Independent
  164. Interface (RMII) and Reduced Gigabit Media Independent
  165. Interface (RGMII) interfaces. It adopts an AHB bus interface
  166. and integrates a link list DMA engine with direct M-Bus
  167. accesses for transmitting and receiving packets. It has
  168. independent TX/RX fifos, supports half and full duplex (1000
  169. Mbps mode only supports full duplex), flow control for full
  170. duplex and backpressure for half duplex.
  171. The FTGMAC100 also implements IP, TCP, UDP checksum offloads
  172. and supports IEEE 802.1Q VLAN tag insertion and removal. It
  173. offers high-priority transmit queue for QoS and CoS
  174. applications.
  175. config MVGBE
  176. bool "Marvell Orion5x/Kirkwood network interface support"
  177. depends on KIRKWOOD || ORION5X
  178. select PHYLIB if DM_ETH
  179. help
  180. This driver supports the network interface units in the
  181. Marvell Orion5x and Kirkwood SoCs
  182. config MVNETA
  183. bool "Marvell Armada XP/385/3700 network interface support"
  184. depends on ARMADA_XP || ARMADA_38X || ARMADA_3700
  185. select PHYLIB
  186. help
  187. This driver supports the network interface units in the
  188. Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
  189. config MVPP2
  190. bool "Marvell Armada 375/7K/8K network interface support"
  191. depends on ARMADA_375 || ARMADA_8K
  192. select PHYLIB
  193. help
  194. This driver supports the network interface units in the
  195. Marvell ARMADA 375, 7K and 8K SoCs.
  196. config MACB
  197. bool "Cadence MACB/GEM Ethernet Interface"
  198. depends on DM_ETH
  199. select PHYLIB
  200. help
  201. The Cadence MACB ethernet interface is found on many Atmel
  202. AT91 and SAMA5 parts. This driver also supports the Cadence
  203. GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
  204. Say Y to include support for the MACB/GEM chip.
  205. config MACB_ZYNQ
  206. bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
  207. depends on MACB
  208. help
  209. The Cadence MACB ethernet interface was used on Zynq platform.
  210. Say Y to enable support for the MACB/GEM in Zynq chip.
  211. config MT7628_ETH
  212. bool "MediaTek MT7628 Ethernet Interface"
  213. depends on ARCH_MT7620
  214. help
  215. The MediaTek MT7628 ethernet interface is used on MT7628 and
  216. MT7688 based boards.
  217. config PCH_GBE
  218. bool "Intel Platform Controller Hub EG20T GMAC driver"
  219. depends on DM_ETH && DM_PCI
  220. select PHYLIB
  221. help
  222. This MAC is present in Intel Platform Controller Hub EG20T. It
  223. supports 10/100/1000 Mbps operation.
  224. config RGMII
  225. bool "Enable RGMII"
  226. help
  227. Enable the support of the Reduced Gigabit Media-Independent
  228. Interface (RGMII).
  229. config MII
  230. bool "Enable MII"
  231. help
  232. Enable support of the Media-Independent Interface (MII)
  233. config RTL8139
  234. bool "Realtek 8139 series Ethernet controller driver"
  235. help
  236. This driver supports Realtek 8139 series fast ethernet family of
  237. PCI chipsets/adapters.
  238. config RTL8169
  239. bool "Realtek 8169 series Ethernet controller driver"
  240. help
  241. This driver supports Realtek 8169 series gigabit ethernet family of
  242. PCI/PCIe chipsets/adapters.
  243. config SMC911X
  244. bool "SMSC LAN911x and LAN921x controller driver"
  245. if SMC911X
  246. config SMC911X_BASE
  247. hex "SMC911X Base Address"
  248. help
  249. Define this to hold the physical address
  250. of the device (I/O space)
  251. choice
  252. prompt "SMC911X bus width"
  253. default SMC911X_16_BIT
  254. config SMC911X_32_BIT
  255. bool "Enable 32-bit interface"
  256. config SMC911X_16_BIT
  257. bool "Enable 16-bit interface"
  258. help
  259. Define this if data bus is 16 bits. If your processor
  260. automatically converts one 32 bit word to two 16 bit
  261. words you may also try CONFIG_SMC911X_32_BIT.
  262. endchoice
  263. endif #SMC911X
  264. config SUN7I_GMAC
  265. bool "Enable Allwinner GMAC Ethernet support"
  266. help
  267. Enable the support for Sun7i GMAC Ethernet controller
  268. config SUN7I_GMAC_FORCE_TXERR
  269. bool "Force PA17 as gmac function"
  270. depends on SUN7I_GMAC
  271. help
  272. Some ethernet phys needs TXERR control. Since the GMAC
  273. doesn't have such signal, setting PA17 as GMAC function
  274. makes the pin output low, which enables data transmission.
  275. config SUN4I_EMAC
  276. bool "Allwinner Sun4i Ethernet MAC support"
  277. depends on DM_ETH
  278. select PHYLIB
  279. help
  280. This driver supports the Allwinner based SUN4I Ethernet MAC.
  281. config SUN8I_EMAC
  282. bool "Allwinner Sun8i Ethernet MAC support"
  283. depends on DM_ETH
  284. select PHYLIB
  285. select PHY_GIGE
  286. help
  287. This driver supports the Allwinner based SUN8I/SUN50I Ethernet MAC.
  288. It can be found in H3/A64/A83T based SoCs and compatible with both
  289. External and Internal PHYs.
  290. config SH_ETHER
  291. bool "Renesas SH Ethernet MAC"
  292. select PHYLIB
  293. help
  294. This driver supports the Ethernet for Renesas SH and ARM SoCs.
  295. source "drivers/net/ti/Kconfig"
  296. config XILINX_AXIEMAC
  297. depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
  298. select PHYLIB
  299. select MII
  300. bool "Xilinx AXI Ethernet"
  301. help
  302. This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
  303. config XILINX_EMACLITE
  304. depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
  305. select PHYLIB
  306. select MII
  307. bool "Xilinx Ethernetlite"
  308. help
  309. This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
  310. config ZYNQ_GEM
  311. depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL)
  312. select PHYLIB
  313. bool "Xilinx Ethernet GEM"
  314. help
  315. This MAC is present in Xilinx Zynq and ZynqMP SoCs.
  316. config PIC32_ETH
  317. bool "Microchip PIC32 Ethernet Support"
  318. depends on DM_ETH && MACH_PIC32
  319. select PHYLIB
  320. help
  321. This driver implements 10/100 Mbps Ethernet and MAC layer for
  322. Microchip PIC32 microcontrollers.
  323. config GMAC_ROCKCHIP
  324. bool "Rockchip Synopsys Designware Ethernet MAC"
  325. depends on DM_ETH && ETH_DESIGNWARE
  326. help
  327. This driver provides Rockchip SoCs network support based on the
  328. Synopsys Designware driver.
  329. config RENESAS_RAVB
  330. bool "Renesas Ethernet AVB MAC"
  331. depends on DM_ETH && RCAR_GEN3
  332. select PHYLIB
  333. help
  334. This driver implements support for the Ethernet AVB block in
  335. Renesas M3 and H3 SoCs.
  336. config MPC8XX_FEC
  337. bool "Fast Ethernet Controller on MPC8XX"
  338. depends on MPC8xx
  339. select MII
  340. help
  341. This driver implements support for the Fast Ethernet Controller
  342. on MPC8XX
  343. config SNI_AVE
  344. bool "Socionext AVE Ethernet support"
  345. depends on DM_ETH && ARCH_UNIPHIER
  346. select PHYLIB
  347. select SYSCON
  348. select REGMAP
  349. help
  350. This driver implements support for the Socionext AVE Ethernet
  351. controller, as found on the Socionext UniPhier family.
  352. config ETHER_ON_FEC1
  353. bool "FEC1"
  354. depends on MPC8XX_FEC
  355. default y
  356. config FEC1_PHY
  357. int "FEC1 PHY"
  358. depends on ETHER_ON_FEC1
  359. default -1
  360. help
  361. Define to the hardcoded PHY address which corresponds
  362. to the given FEC; i. e.
  363. #define CONFIG_FEC1_PHY 4
  364. means that the PHY with address 4 is connected to FEC1
  365. When set to -1, means to probe for first available.
  366. config PHY_NORXERR
  367. bool "PHY_NORXERR"
  368. depends on ETHER_ON_FEC1
  369. default n
  370. help
  371. The PHY does not have a RXERR line (RMII only).
  372. (so program the FEC to ignore it).
  373. config ETHER_ON_FEC2
  374. bool "FEC2"
  375. depends on MPC8XX_FEC && MPC885
  376. default y
  377. config FEC2_PHY
  378. int "FEC2 PHY"
  379. depends on ETHER_ON_FEC2
  380. default -1
  381. help
  382. Define to the hardcoded PHY address which corresponds
  383. to the given FEC; i. e.
  384. #define CONFIG_FEC1_PHY 4
  385. means that the PHY with address 4 is connected to FEC1
  386. When set to -1, means to probe for first available.
  387. config FEC2_PHY_NORXERR
  388. bool "PHY_NORXERR"
  389. depends on ETHER_ON_FEC2
  390. default n
  391. help
  392. The PHY does not have a RXERR line (RMII only).
  393. (so program the FEC to ignore it).
  394. config SYS_DPAA_QBMAN
  395. bool "Device tree fixup for QBMan on freescale SOCs"
  396. depends on (ARM || PPC) && !SPL_BUILD
  397. default y if ARCH_B4860 || \
  398. ARCH_B4420 || \
  399. ARCH_P1023 || \
  400. ARCH_P2041 || \
  401. ARCH_T1023 || \
  402. ARCH_T1024 || \
  403. ARCH_T1040 || \
  404. ARCH_T1042 || \
  405. ARCH_T2080 || \
  406. ARCH_T2081 || \
  407. ARCH_T4240 || \
  408. ARCH_T4160 || \
  409. ARCH_P4080 || \
  410. ARCH_P3041 || \
  411. ARCH_P5040 || \
  412. ARCH_P5020 || \
  413. ARCH_LS1043A || \
  414. ARCH_LS1046A
  415. help
  416. QBman fixups to allow deep sleep in DPAA 1 SOCs
  417. config TSEC_ENET
  418. select PHYLIB
  419. bool "Enable Three-Speed Ethernet Controller"
  420. help
  421. This driver implements support for the (Enhanced) Three-Speed
  422. Ethernet Controller found on Freescale SoCs.
  423. endif # NETDEVICES