From: Hiroshi DOYU Date: Tue, 19 May 2009 06:07:55 +0000 (+0300) Subject: omap iommu: add MPU_BRIDGE_IOMMU for tidspbridge migration X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5c651ffaee6f07aa1f5e6d0763845a2ee606b6bd;p=linux-beck.git 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 --- 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 = { .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)