pci: pci_mvebu: Add DM_PCI support and move CONFIG_PCI_MVEBU to defconfig
[platform/kernel/u-boot.git] / drivers / pci / Kconfig
index 275b29b..1521885 100644 (file)
@@ -1,6 +1,6 @@
 menuconfig PCI
        bool "PCI support"
 menuconfig PCI
        bool "PCI support"
-       default y if PPC || X86
+       default y if PPC
        help
          Enable support for PCI (Peripheral Interconnect Bus), a type of bus
          used on some devices to allow the CPU to communicate with its
        help
          Enable support for PCI (Peripheral Interconnect Bus), a type of bus
          used on some devices to allow the CPU to communicate with its
@@ -26,6 +26,16 @@ config DM_PCI_COMPAT
          measure when porting a board to use driver model for PCI. Once the
          board is fully supported, this option should be disabled.
 
          measure when porting a board to use driver model for PCI. Once the
          board is fully supported, this option should be disabled.
 
+config PCI_AARDVARK
+       bool "Enable Aardvark PCIe driver"
+       default n
+       depends on DM_PCI
+       depends on ARMADA_3700
+       help
+         Say Y here if you want to enable PCIe controller support on
+         Armada37x0 SoCs. The PCIe controller on Armada37x0 is based on
+         Aardvark hardware.
+
 config PCI_PNP
        bool "Enable Plug & Play support for PCI"
        depends on PCI || DM_PCI
 config PCI_PNP
        bool "Enable Plug & Play support for PCI"
        depends on PCI || DM_PCI
@@ -33,9 +43,16 @@ config PCI_PNP
        help
          Enable PCI memory and I/O space resource allocation and assignment.
 
        help
          Enable PCI memory and I/O space resource allocation and assignment.
 
+config PCIE_ECAM_GENERIC
+       bool "Generic ECAM-based PCI host controller support"
+       default n
+       depends on DM_PCI
+       help
+         Say Y here if you want to enable support for generic ECAM-based
+         PCIe host controllers, such as the one emulated by QEMU.
+
 config PCIE_DW_MVEBU
        bool "Enable Armada-8K PCIe driver (DesignWare core)"
 config PCIE_DW_MVEBU
        bool "Enable Armada-8K PCIe driver (DesignWare core)"
-       default n
        depends on DM_PCI
        depends on ARMADA_8K
        help
        depends on DM_PCI
        depends on ARMADA_8K
        help
@@ -43,6 +60,15 @@ config PCIE_DW_MVEBU
          Armada-8K SoCs. The PCIe controller on Armada-8K is based on
          DesignWare hardware.
 
          Armada-8K SoCs. The PCIe controller on Armada-8K is based on
          DesignWare hardware.
 
+config PCI_RCAR_GEN2
+       bool "Renesas RCar Gen2 PCIe driver"
+       depends on DM_PCI
+       depends on RCAR_32
+       help
+         Say Y here if you want to enable PCIe controller support on
+         Renesas RCar Gen2 SoCs. The PCIe controller on RCar Gen2 is
+         also used to access EHCI USB controller on the SoC.
+
 config PCI_SANDBOX
        bool "Sandbox PCI support"
        depends on SANDBOX && DM_PCI
 config PCI_SANDBOX
        bool "Sandbox PCI support"
        depends on SANDBOX && DM_PCI
@@ -71,4 +97,28 @@ config PCI_XILINX
          Enable support for the Xilinx AXI bridge for PCI express, an IP block
          which can be used on some generations of Xilinx FPGAs.
 
          Enable support for the Xilinx AXI bridge for PCI express, an IP block
          which can be used on some generations of Xilinx FPGAs.
 
+config PCIE_LAYERSCAPE
+       bool "Layerscape PCIe support"
+       depends on DM_PCI
+       help
+         Support Layerscape PCIe. The Layerscape SoC may have one or several
+         PCIe controllers. The PCIe may works in RC or EP mode according to
+         RCW[HOST_AGT_PEX] setting.
+
+config PCIE_INTEL_FPGA
+       bool "Intel FPGA PCIe support"
+       depends on DM_PCI
+       help
+         Say Y here if you want to enable PCIe controller support on Intel
+         FPGA, example Stratix 10.
+
+config PCI_MVEBU
+       bool "Enable Armada XP/38x PCIe driver"
+       depends on ARCH_MVEBU
+       select DM_PCI
+       select MISC
+       help
+         Say Y here if you want to enable PCIe controller support on
+         Armada XP/38x SoCs.
+
 endif
 endif