Kconfig 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. menuconfig PCI
  2. bool "PCI support"
  3. default y if PPC
  4. help
  5. Enable support for PCI (Peripheral Interconnect Bus), a type of bus
  6. used on some devices to allow the CPU to communicate with its
  7. peripherals.
  8. if PCI
  9. config DM_PCI
  10. bool "Enable driver model for PCI"
  11. depends on DM
  12. help
  13. Use driver model for PCI. Driver model is the new method for
  14. orgnising devices in U-Boot. For PCI, driver model keeps track of
  15. available PCI devices, allows scanning of PCI buses and provides
  16. device configuration support.
  17. config DM_PCI_COMPAT
  18. bool "Enable compatible functions for PCI"
  19. depends on DM_PCI
  20. help
  21. Enable compatibility functions for PCI so that old code can be used
  22. with CONFIG_DM_PCI enabled. This should be used as an interim
  23. measure when porting a board to use driver model for PCI. Once the
  24. board is fully supported, this option should be disabled.
  25. config PCI_AARDVARK
  26. bool "Enable Aardvark PCIe driver"
  27. default n
  28. depends on DM_PCI
  29. depends on ARMADA_3700
  30. help
  31. Say Y here if you want to enable PCIe controller support on
  32. Armada37x0 SoCs. The PCIe controller on Armada37x0 is based on
  33. Aardvark hardware.
  34. config PCI_PNP
  35. bool "Enable Plug & Play support for PCI"
  36. depends on PCI || DM_PCI
  37. default y
  38. help
  39. Enable PCI memory and I/O space resource allocation and assignment.
  40. config PCIE_ECAM_GENERIC
  41. bool "Generic ECAM-based PCI host controller support"
  42. default n
  43. depends on DM_PCI
  44. help
  45. Say Y here if you want to enable support for generic ECAM-based
  46. PCIe host controllers, such as the one emulated by QEMU.
  47. config PCI_PHYTIUM
  48. bool "Phytium PCIe support"
  49. depends on DM_PCI
  50. help
  51. Say Y here if you want to enable PCIe controller support on
  52. Phytium SoCs.
  53. config PCIE_DW_MVEBU
  54. bool "Enable Armada-8K PCIe driver (DesignWare core)"
  55. depends on DM_PCI
  56. depends on ARMADA_8K
  57. help
  58. Say Y here if you want to enable PCIe controller support on
  59. Armada-8K SoCs. The PCIe controller on Armada-8K is based on
  60. DesignWare hardware.
  61. config PCIE_FSL
  62. bool "FSL PowerPC PCIe support"
  63. depends on DM_PCI
  64. help
  65. Say Y here if you want to enable PCIe controller support on FSL
  66. PowerPC MPC85xx, MPC86xx, B series, P series and T series SoCs.
  67. This driver does not support SRIO_PCIE_BOOT feature.
  68. config PCI_MPC85XX
  69. bool "MPC85XX PowerPC PCI support"
  70. depends on DM_PCI
  71. help
  72. Say Y here if you want to enable PCI controller support on FSL
  73. PowerPC MPC85xx SoC.
  74. config PCI_RCAR_GEN2
  75. bool "Renesas RCar Gen2 PCIe driver"
  76. depends on DM_PCI
  77. depends on RCAR_32
  78. help
  79. Say Y here if you want to enable PCIe controller support on
  80. Renesas RCar Gen2 SoCs. The PCIe controller on RCar Gen2 is
  81. also used to access EHCI USB controller on the SoC.
  82. config PCI_RCAR_GEN3
  83. bool "Renesas RCar Gen3 PCIe driver"
  84. depends on DM_PCI
  85. depends on RCAR_GEN3
  86. help
  87. Say Y here if you want to enable PCIe controller support on
  88. Renesas RCar Gen3 SoCs.
  89. config PCI_SANDBOX
  90. bool "Sandbox PCI support"
  91. depends on SANDBOX && DM_PCI
  92. help
  93. Support PCI on sandbox, as an emulated bus. This permits testing of
  94. PCI feature such as bus scanning, device configuration and device
  95. access. The available (emulated) devices are defined statically in
  96. the device tree but the normal PCI scan technique is used to find
  97. then.
  98. config PCI_TEGRA
  99. bool "Tegra PCI support"
  100. depends on ARCH_TEGRA
  101. depends on (TEGRA186 && POWER_DOMAIN) || (!TEGRA186)
  102. help
  103. Enable support for the PCIe controller found on some generations of
  104. Tegra. Tegra20 has 2 root ports with a total of 4 lanes, Tegra30 has
  105. 3 root ports with a total of 6 lanes and Tegra124 has 2 root ports
  106. with a total of 5 lanes. Some boards require this for Ethernet
  107. support to work (e.g. beaver, jetson-tk1).
  108. config PCI_XILINX
  109. bool "Xilinx AXI Bridge for PCI Express"
  110. depends on DM_PCI
  111. help
  112. Enable support for the Xilinx AXI bridge for PCI express, an IP block
  113. which can be used on some generations of Xilinx FPGAs.
  114. config PCIE_LAYERSCAPE
  115. bool "Layerscape PCIe support"
  116. depends on DM_PCI
  117. help
  118. Support Layerscape PCIe. The Layerscape SoC may have one or several
  119. PCIe controllers. The PCIe may works in RC or EP mode according to
  120. RCW[HOST_AGT_PEX] setting.
  121. config PCIE_LAYERSCAPE_GEN4
  122. bool "Layerscape Gen4 PCIe support"
  123. depends on DM_PCI
  124. help
  125. Support PCIe Gen4 on NXP Layerscape SoCs, which may have one or
  126. several PCIe controllers. The PCIe controller can work in RC or
  127. EP mode according to RCW[HOST_AGT_PEX] setting.
  128. config FSL_PCIE_COMPAT
  129. string "PCIe compatible of Kernel DT"
  130. depends on PCIE_LAYERSCAPE || PCIE_LAYERSCAPE_GEN4
  131. default "fsl,ls1012a-pcie" if ARCH_LS1012A
  132. default "fsl,ls1028a-pcie" if ARCH_LS1028A
  133. default "fsl,ls1043a-pcie" if ARCH_LS1043A
  134. default "fsl,ls1046a-pcie" if ARCH_LS1046A
  135. default "fsl,ls2080a-pcie" if ARCH_LS2080A
  136. default "fsl,ls1088a-pcie" if ARCH_LS1088A
  137. default "fsl,lx2160a-pcie" if ARCH_LX2160A
  138. default "fsl,ls1021a-pcie" if ARCH_LS1021A
  139. help
  140. This compatible is used to find pci controller node in Kernel DT
  141. to complete fixup.
  142. config FSL_PCIE_EP_COMPAT
  143. string "PCIe EP compatible of Kernel DT"
  144. depends on PCIE_LAYERSCAPE || PCIE_LAYERSCAPE_GEN4
  145. default "fsl,lx2160a-pcie-ep" if ARCH_LX2160A
  146. default "fsl,ls-pcie-ep"
  147. help
  148. This compatible is used to find pci controller ep node in Kernel DT
  149. to complete fixup.
  150. config PCIE_INTEL_FPGA
  151. bool "Intel FPGA PCIe support"
  152. depends on DM_PCI
  153. help
  154. Say Y here if you want to enable PCIe controller support on Intel
  155. FPGA, example Stratix 10.
  156. config PCI_MVEBU
  157. bool "Enable Armada XP/38x PCIe driver"
  158. depends on ARCH_MVEBU
  159. select DM_PCI
  160. select MISC
  161. help
  162. Say Y here if you want to enable PCIe controller support on
  163. Armada XP/38x SoCs.
  164. config PCI_KEYSTONE
  165. bool "TI Keystone PCIe controller"
  166. depends on DM_PCI
  167. help
  168. Say Y here if you want to enable PCI controller support on AM654 SoC.
  169. config PCIE_MEDIATEK
  170. bool "MediaTek PCIe Gen2 controller"
  171. depends on DM_PCI
  172. depends on ARCH_MEDIATEK
  173. help
  174. Say Y here if you want to enable Gen2 PCIe controller,
  175. which could be found on MT7623 SoC family.
  176. endif