diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-07-18 06:49:56 -0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2014-07-29 06:39:23 -0400 |
commit | 4aa5dd7e56654215bdac18edd4d8b00cbe5be80a (patch) | |
tree | 333d900b1e6e6712383a9e92ab5afca19cf4f068 | |
parent | baaa7b5d4f1e515a39f1eebd5fb16b67e00b22fb (diff) |
ARM: omap: Don't set iommu pdata da_start and da_end fields
The fields are not used by the driver and will be removed from platform
data. Don't set them.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
-rw-r--r-- | arch/arm/mach-omap2/omap-iommu.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 4 |
3 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/omap-iommu.c b/arch/arm/mach-omap2/omap-iommu.c index f1fab5684a24..4068350f9059 100644 --- a/arch/arm/mach-omap2/omap-iommu.c +++ b/arch/arm/mach-omap2/omap-iommu.c | |||
@@ -34,8 +34,6 @@ static int __init omap_iommu_dev_init(struct omap_hwmod *oh, void *unused) | |||
34 | 34 | ||
35 | pdata->name = oh->name; | 35 | pdata->name = oh->name; |
36 | pdata->nr_tlb_entries = a->nr_tlb_entries; | 36 | pdata->nr_tlb_entries = a->nr_tlb_entries; |
37 | pdata->da_start = a->da_start; | ||
38 | pdata->da_end = a->da_end; | ||
39 | 37 | ||
40 | if (oh->rst_lines_cnt == 1) { | 38 | if (oh->rst_lines_cnt == 1) { |
41 | pdata->reset_name = oh->rst_lines->name; | 39 | pdata->reset_name = oh->rst_lines->name; |
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c index 1cd0cfdc03e0..e9516b454e76 100644 --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | |||
@@ -2986,8 +2986,6 @@ static struct omap_hwmod_class omap3xxx_mmu_hwmod_class = { | |||
2986 | /* mmu isp */ | 2986 | /* mmu isp */ |
2987 | 2987 | ||
2988 | static struct omap_mmu_dev_attr mmu_isp_dev_attr = { | 2988 | static struct omap_mmu_dev_attr mmu_isp_dev_attr = { |
2989 | .da_start = 0x0, | ||
2990 | .da_end = 0xfffff000, | ||
2991 | .nr_tlb_entries = 8, | 2989 | .nr_tlb_entries = 8, |
2992 | }; | 2990 | }; |
2993 | 2991 | ||
@@ -3026,8 +3024,6 @@ static struct omap_hwmod omap3xxx_mmu_isp_hwmod = { | |||
3026 | /* mmu iva */ | 3024 | /* mmu iva */ |
3027 | 3025 | ||
3028 | static struct omap_mmu_dev_attr mmu_iva_dev_attr = { | 3026 | static struct omap_mmu_dev_attr mmu_iva_dev_attr = { |
3029 | .da_start = 0x11000000, | ||
3030 | .da_end = 0xfffff000, | ||
3031 | .nr_tlb_entries = 32, | 3027 | .nr_tlb_entries = 32, |
3032 | }; | 3028 | }; |
3033 | 3029 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c index 41e54f759934..b4acc0a7576f 100644 --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c | |||
@@ -2084,8 +2084,6 @@ static struct omap_hwmod_class omap44xx_mmu_hwmod_class = { | |||
2084 | /* mmu ipu */ | 2084 | /* mmu ipu */ |
2085 | 2085 | ||
2086 | static struct omap_mmu_dev_attr mmu_ipu_dev_attr = { | 2086 | static struct omap_mmu_dev_attr mmu_ipu_dev_attr = { |
2087 | .da_start = 0x0, | ||
2088 | .da_end = 0xfffff000, | ||
2089 | .nr_tlb_entries = 32, | 2087 | .nr_tlb_entries = 32, |
2090 | }; | 2088 | }; |
2091 | 2089 | ||
@@ -2133,8 +2131,6 @@ static struct omap_hwmod omap44xx_mmu_ipu_hwmod = { | |||
2133 | /* mmu dsp */ | 2131 | /* mmu dsp */ |
2134 | 2132 | ||
2135 | static struct omap_mmu_dev_attr mmu_dsp_dev_attr = { | 2133 | static struct omap_mmu_dev_attr mmu_dsp_dev_attr = { |
2136 | .da_start = 0x0, | ||
2137 | .da_end = 0xfffff000, | ||
2138 | .nr_tlb_entries = 32, | 2134 | .nr_tlb_entries = 32, |
2139 | }; | 2135 | }; |
2140 | 2136 | ||