msm: IOMMU: Add IOMMU support for 8910
Add device tree bindings for IOMMUv1 and change IOMMU
driver to handle a different IOMMU memory map.
Change-Id: Ieb8fbb158237652f65a601e515327922f5e7bf5b
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
diff --git a/arch/arm/mach-msm/Makefile b/arch/arm/mach-msm/Makefile
index 7555e51..7f1d475 100644
--- a/arch/arm/mach-msm/Makefile
+++ b/arch/arm/mach-msm/Makefile
@@ -343,7 +343,13 @@
obj-$(CONFIG_MSM_BUS_SCALING) += msm_bus/
obj-$(CONFIG_MSM_BUSPM_DEV) += msm-buspm-dev.o
-obj-$(CONFIG_MSM_IOMMU) += devices-iommu.o iommu_domains.o
+obj-$(CONFIG_MSM_IOMMU) += iommu_domains.o
+ifdef CONFIG_IOMMU_SUPPORT
+obj-$(CONFIG_ARCH_MSM8960) += devices-iommu.o
+obj-$(CONFIG_ARCH_MSM8930) += devices-iommu.o
+obj-$(CONFIG_ARCH_MSM8064) += devices-iommu.o
+endif
+
obj-$(CONFIG_MSM_EVENT_TIMER) += event_timer.o
ifdef CONFIG_VCM