]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/iommu/Kconfig
iommu: Allow building iova.c independently
[karo-tx-linux.git] / drivers / iommu / Kconfig
index 30f0e61341c5ad03a05944caf70471c66eeb2a5c..a839ca93376b85ef7c8da5a5983b789a29b6c8e2 100644 (file)
@@ -13,9 +13,12 @@ menuconfig IOMMU_SUPPORT
 
 if IOMMU_SUPPORT
 
+config IOMMU_IOVA
+       bool
+
 config OF_IOMMU
        def_bool y
-       depends on OF
+       depends on OF && IOMMU_API
 
 config FSL_PAMU
        bool "Freescale IOMMU support"
@@ -91,6 +94,7 @@ config INTEL_IOMMU
        bool "Support for Intel IOMMU using DMA Remapping Devices"
        depends on PCI_MSI && ACPI && (X86 || IA64_GENERIC)
        select IOMMU_API
+       select IOMMU_IOVA
        select DMAR_TABLE
        help
          DMA remapping (DMAR) devices support enables independent address
@@ -187,7 +191,7 @@ config TEGRA_IOMMU_SMMU
 
 config EXYNOS_IOMMU
        bool "Exynos IOMMU Support"
-       depends on ARCH_EXYNOS
+       depends on ARCH_EXYNOS && ARM
        select IOMMU_API
        select ARM_DMA_USE_IOMMU
        help