iommu/tegra: smmu: Change SMMU's dependency on ARCH_TEGRA
authorHiroshi Doyu <hdoyu@nvidia.com>
Thu, 31 Jan 2013 10:43:08 +0000 (12:43 +0200)
committerJoerg Roedel <joro@8bytes.org>
Tue, 5 Feb 2013 13:18:25 +0000 (14:18 +0100)
Theoretically TEGRA_IOMMU_SMMU depends on ARCH_TEGRA_3x_SOC and
ARCH_TEGRA_114_SOC only. This patch allows a Tegra20 only kernel to
enable SMMU(Tegra20 doesn't have a SMMU), which could avoid editing
this Kconfig entry every time we add a new chip later.

Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/Kconfig

index e39f9dbf297ba977384bc9e1733ec7990c245c77..3f0b15a10e189f6980395d4f62d60ffcc312bf19 100644 (file)
@@ -158,7 +158,7 @@ config TEGRA_IOMMU_GART
 
 config TEGRA_IOMMU_SMMU
        bool "Tegra SMMU IOMMU Support"
-       depends on ARCH_TEGRA_3x_SOC && TEGRA_AHB
+       depends on ARCH_TEGRA && TEGRA_AHB
        select IOMMU_API
        help
          Enables support for remapping discontiguous physical memory