]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
pcie: kconfig: make pcie independent of arch-arm
authorVidya Sagar <vidyas@nvidia.com>
Fri, 27 Mar 2015 05:38:42 +0000 (11:08 +0530)
committerBo Yan <byan@nvidia.com>
Tue, 31 Mar 2015 17:24:01 +0000 (10:24 -0700)
make pcie independent of arm architecture and dependent
only on PLATFORM_TEGRA

Bug 200019588

Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Change-Id: Ida1e956dfa5592fe2afcaed6fd25152a8ace9056
Reviewed-on: http://git-master/r/724021
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
arch/arm/mach-tegra/Kconfig
arch/arm64/mach-tegra/Kconfig
drivers/pci/host/Kconfig

index 62bd2889e52f89d5ffa35e0c336ed4ca8b52944b..0fb8dcf4e8ad97716da322092760f1d8bc8f8afb 100644 (file)
@@ -69,7 +69,6 @@ config ARCH_TEGRA_3x_SOC
 config ARCH_TEGRA_12x_SOC
        bool "Tegra 12x family SOC"
        select ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS if !ARM64
-       select ARCH_TEGRA_HAS_PCIE
        select CPU_V7
        select ARM_L1_CACHE_SHIFT_6
        select ARM_ARCH_TIMER
@@ -139,9 +138,6 @@ config ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS
 config ARCH_TEGRA_HAS_SYMMETRIC_CPU_PWR_GATE
        bool
 
-config ARCH_TEGRA_HAS_PCIE
-       bool
-
 config ARCH_TEGRA_HAS_SATA
        bool
 
index a1d1c9172ff742db6966b340fb9a3aa0aca324a0..a4730e473a451c5e14261ea660a59681a0970f80 100644 (file)
@@ -4,7 +4,6 @@ source arch/arm/mach-tegra/Kconfig
 
 config ARCH_TEGRA_13x_SOC
        bool "Tegra 13x family SOC"
-       select ARCH_TEGRA_HAS_PCIE
        select CPU_V8
        select DENVER_CPU
        select ARM_GIC
@@ -34,7 +33,6 @@ config ARCH_TEGRA_13x_SOC
 
 config ARCH_TEGRA_21x_SOC
        bool "Tegra 21x family SOC"
-       select ARCH_TEGRA_HAS_PCIE
        select CPU_V8
        select ARM_GIC
        select ARCH_REQUIRE_GPIOLIB
index 5f0a1b579ce01d4b3589bfc7aabff80d919d49cf..a730a873a2b28c5358e984cadd4b4cdfdb330636 100644 (file)
@@ -4,9 +4,15 @@
 comment "PCIE Host Controller Drivers"
 
 config PCI_TEGRA
-        tristate "NVIDIA Tegra PCIe controller"
-        select PCI
-        select TEGRA_USB_SHARED_PAD
-        depends on ARCH_TEGRA_HAS_PCIE
-        help
-          Adds PCIe Host controller driver for tegra based systems
+    tristate "NVIDIA Tegra PCIe controller"
+    default n
+    depends on PLATFORM_TEGRA
+    select PCI
+    select TEGRA_USB_SHARED_PAD
+    select ARCH_TEGRA_HAS_PCIE
+    help
+      Say Y here if you want support for the PCIe host controller found
+      on NVIDIA Tegra SoCs.
+
+config ARCH_TEGRA_HAS_PCIE
+       bool