diff options
author | Andy Green <andy.green@linaro.org> | 2011-10-25 10:52:01 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-10-25 10:52:01 +0800 |
commit | bad71f1da46061cb5d63a90d6469e82b9e4e627a (patch) | |
tree | 058054adf7dfa4c2473957b0c9049fac658301ce | |
parent | 839b73e77106f63ad9e0607eaf918a6be603219b (diff) |
iommu uplevel platform data
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r-- | arch/arm/mach-omap2/omap-iommu.c | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/omap-iommu.c b/arch/arm/mach-omap2/omap-iommu.c index 091f369059c..1731f5272de 100644 --- a/arch/arm/mach-omap2/omap-iommu.c +++ b/arch/arm/mach-omap2/omap-iommu.c @@ -52,17 +52,26 @@ static struct platform_device *omap3_iommu_pdev[NR_OMAP3_IOMMU_DEVICES]; #endif #ifdef CONFIG_ARCH_OMAP4 + +/* +struct iommu_platform_data { + const char *name; + const char *oh_name; + const int nr_tlb_entries; + u32 da_start; + u32 da_end; + int irq; + void __iomem *io_base; +}; +*/ + static struct iommu_platform_data omap4_devices_data[] = { { - .base = OMAP4_MMU1_BASE, + .io_base = OMAP4_MMU1_BASE, .irq = OMAP44XX_IRQ_DUCATI_MMU, - .pdata = { - .name = "ducati", - .nr_tlb_entries = 32, - .clk_name = "ipu_fck", - .da_start = 0x0, - .da_end = 0xFFFFF000, - }, + /* .clk_name = "ipu_fck", */ + .da_start = 0x0, + .da_end = 0xFFFFF000, .name = "ducati", .oh_name = "ipu", .nr_tlb_entries = 32, |