summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/Makefile
diff options
context:
space:
mode:
authorHiroshi Doyu <hdoyu@nvidia.com>2012-06-25 14:23:54 +0300
committerJoerg Roedel <joerg.roedel@amd.com>2012-06-25 13:50:28 +0200
commit4e0ee78f2af96676c9dca898c13250f62c513058 (patch)
treeb6851b6678d8a99a6c158a18f210442e545f78c3 /drivers/iommu/Makefile
parent485802a6c524e62b5924849dd727ddbb1497cc71 (diff)
downloadop-kernel-dev-4e0ee78f2af96676c9dca898c13250f62c513058.zip
op-kernel-dev-4e0ee78f2af96676c9dca898c13250f62c513058.tar.gz
iommu: Add DMA window parser, of_get_dma_window()
This code was based on: "arch/microblaze/kernel/prom_parse.c" "arch/powerpc/kernel/prom_parse.c" Can replace "of_parse_dma_window()" in the above. This supports different formats flexibly. "prefix" can be configured if any. "busno" and "index" are optionally specified. Set NULL and 0 if not used. Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/Makefile')
-rw-r--r--drivers/iommu/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/Makefile b/drivers/iommu/Makefile
index 76e54ef..14a4d5f 100644
--- a/drivers/iommu/Makefile
+++ b/drivers/iommu/Makefile
@@ -1,4 +1,5 @@
obj-$(CONFIG_IOMMU_API) += iommu.o
+obj-$(CONFIG_OF_IOMMU) += of_iommu.o
obj-$(CONFIG_MSM_IOMMU) += msm_iommu.o msm_iommu_dev.o
obj-$(CONFIG_AMD_IOMMU) += amd_iommu.o amd_iommu_init.o
obj-$(CONFIG_AMD_IOMMU_V2) += amd_iommu_v2.o
OpenPOWER on IntegriCloud