diff options
Diffstat (limited to 'arch/arm/mach-davinci/devices-da8xx.c')
-rw-r--r-- | arch/arm/mach-davinci/devices-da8xx.c | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c index 8cda729be273..1d956bfa9cf0 100644 --- a/arch/arm/mach-davinci/devices-da8xx.c +++ b/arch/arm/mach-davinci/devices-da8xx.c | |||
@@ -111,19 +111,21 @@ static const s8 da850_queue_priority_mapping[][2] = { | |||
111 | {-1, -1} | 111 | {-1, -1} |
112 | }; | 112 | }; |
113 | 113 | ||
114 | static struct edma_soc_info da830_edma_info[] = { | 114 | static struct edma_soc_info da830_edma_cc0_info = { |
115 | { | 115 | .n_channel = 32, |
116 | .n_channel = 32, | 116 | .n_region = 4, |
117 | .n_region = 4, | 117 | .n_slot = 128, |
118 | .n_slot = 128, | 118 | .n_tc = 2, |
119 | .n_tc = 2, | 119 | .n_cc = 1, |
120 | .n_cc = 1, | 120 | .queue_tc_mapping = da8xx_queue_tc_mapping, |
121 | .queue_tc_mapping = da8xx_queue_tc_mapping, | 121 | .queue_priority_mapping = da8xx_queue_priority_mapping, |
122 | .queue_priority_mapping = da8xx_queue_priority_mapping, | 122 | }; |
123 | }, | 123 | |
124 | static struct edma_soc_info *da830_edma_info[EDMA_MAX_CC] = { | ||
125 | &da830_edma_cc0_info, | ||
124 | }; | 126 | }; |
125 | 127 | ||
126 | static struct edma_soc_info da850_edma_info[] = { | 128 | static struct edma_soc_info da850_edma_cc_info[] = { |
127 | { | 129 | { |
128 | .n_channel = 32, | 130 | .n_channel = 32, |
129 | .n_region = 4, | 131 | .n_region = 4, |
@@ -144,6 +146,11 @@ static struct edma_soc_info da850_edma_info[] = { | |||
144 | }, | 146 | }, |
145 | }; | 147 | }; |
146 | 148 | ||
149 | static struct edma_soc_info *da850_edma_info[EDMA_MAX_CC] = { | ||
150 | &da850_edma_cc_info[0], | ||
151 | &da850_edma_cc_info[1], | ||
152 | }; | ||
153 | |||
147 | static struct resource da830_edma_resources[] = { | 154 | static struct resource da830_edma_resources[] = { |
148 | { | 155 | { |
149 | .name = "edma_cc0", | 156 | .name = "edma_cc0", |