omap iommu: add MPU_BRIDGE_IOMMU for tidspbridge migration
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Tue, 19 May 2009 06:07:55 +0000 (09:07 +0300)
committerHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Fri, 22 May 2009 07:17:02 +0000 (10:17 +0300)
Currently "tidspbridge" driver uses its own mmu implementation and
will migrate to use this "omap iommu" eventually. This config is
provided to make this migration happen smoothly.

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
arch/arm/mach-omap2/omap3-iommu.c

index 91ee38a485a4e197b834d52f2b2c20bfa3a03624..194189c746c292a54e12ac71d3c758f84061e5cd 100644 (file)
@@ -36,11 +36,13 @@ static const struct iommu_platform_data omap3_iommu_pdata[] __initconst = {
                .nr_tlb_entries = 8,
                .clk_name = "cam_ick",
        },
+#if defined(CONFIG_MPU_BRIDGE_IOMMU)
        {
                .name = "iva2",
                .nr_tlb_entries = 32,
                .clk_name = "iva2_ck",
        },
+#endif
 };
 #define NR_IOMMU_DEVICES ARRAY_SIZE(omap3_iommu_pdata)