Kconfig 12 KB

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