summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/Kconfig
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-08-27 16:20:32 +0100
committerWill Deacon <will.deacon@arm.com>2014-12-01 16:50:38 +0000
commit7eba1d51485197fa77c43c42eae3ce04b4b1c1c0 (patch)
treeace7a25c7d2aaf0e6250d60db0ee08faf55bf201 /drivers/iommu/Kconfig
parentd0f60a44f5120a8e1c48995285c7d8d1e4915b35 (diff)
downloadop-kernel-dev-7eba1d51485197fa77c43c42eae3ce04b4b1c1c0.zip
op-kernel-dev-7eba1d51485197fa77c43c42eae3ce04b4b1c1c0.tar.gz
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 dd51122..6d13f96 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"
OpenPOWER on IntegriCloud