diff options
author | Will Deacon <will.deacon@arm.com> | 2014-08-27 16:20:32 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-12-01 16:50:38 +0000 |
commit | 7eba1d51485197fa77c43c42eae3ce04b4b1c1c0 (patch) | |
tree | ace7a25c7d2aaf0e6250d60db0ee08faf55bf201 /drivers/iommu/Kconfig | |
parent | d0f60a44f5120a8e1c48995285c7d8d1e4915b35 (diff) | |
download | linux-7eba1d51485197fa77c43c42eae3ce04b4b1c1c0.tar.bz2 |
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/Kconfig | 2 |
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" |