aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap3-iommu.c
diff options
context:
space:
mode:
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>2009-05-19 02:07:55 -0400
committerHiroshi DOYU <Hiroshi.DOYU@nokia.com>2009-05-22 03:17:02 -0400
commit5c651ffaee6f07aa1f5e6d0763845a2ee606b6bd (patch)
treeed4bec83f1313926c5945ef89972242735bf3369 /arch/arm/mach-omap2/omap3-iommu.c
parentcaf60779a6c5795340767ccf2f73ed7d5c7e0486 (diff)
omap iommu: add MPU_BRIDGE_IOMMU for tidspbridge migration
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>
Diffstat (limited to 'arch/arm/mach-omap2/omap3-iommu.c')
-rw-r--r--arch/arm/mach-omap2/omap3-iommu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap3-iommu.c b/arch/arm/mach-omap2/omap3-iommu.c
index 91ee38a485a4..194189c746c2 100644
--- a/arch/arm/mach-omap2/omap3-iommu.c
+++ b/arch/arm/mach-omap2/omap3-iommu.c
@@ -36,11 +36,13 @@ static const struct iommu_platform_data omap3_iommu_pdata[] __initconst = {
36 .nr_tlb_entries = 8, 36 .nr_tlb_entries = 8,
37 .clk_name = "cam_ick", 37 .clk_name = "cam_ick",
38 }, 38 },
39#if defined(CONFIG_MPU_BRIDGE_IOMMU)
39 { 40 {
40 .name = "iva2", 41 .name = "iva2",
41 .nr_tlb_entries = 32, 42 .nr_tlb_entries = 32,
42 .clk_name = "iva2_ck", 43 .clk_name = "iva2_ck",
43 }, 44 },
45#endif
44}; 46};
45#define NR_IOMMU_DEVICES ARRAY_SIZE(omap3_iommu_pdata) 47#define NR_IOMMU_DEVICES ARRAY_SIZE(omap3_iommu_pdata)
46 48