summaryrefslogtreecommitdiff
path: root/drivers/iommu/Kconfig
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-08-27 19:20:32 +0400
committerWill Deacon <will.deacon@arm.com>2014-12-01 19:50:38 +0300
commit7eba1d51485197fa77c43c42eae3ce04b4b1c1c0 (patch)
treeace7a25c7d2aaf0e6250d60db0ee08faf55bf201 /drivers/iommu/Kconfig
parentd0f60a44f5120a8e1c48995285c7d8d1e4915b35 (diff)
downloadlinux-7eba1d51485197fa77c43c42eae3ce04b4b1c1c0.tar.xz
iommu: provide helper function to configure an IOMMU for an of master
The generic IOMMU device-tree bindings can be used to add arbitrary OF masters to an IOMMU with a compliant binding. This patch introduces of_iommu_configure, which does exactly that. Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Joerg Roedel <jroedel@suse.de> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Tested-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/iommu/Kconfig')
-rw-r--r--drivers/iommu/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index dd5112265cc9..6d13f962f156 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -15,7 +15,7 @@ if IOMMU_SUPPORT
config OF_IOMMU
def_bool y
- depends on OF
+ depends on OF && IOMMU_API
config FSL_PAMU
bool "Freescale IOMMU support"