diff options
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r-- | arch/arm/mach-omap2/io.c | 38 |
1 files changed, 4 insertions, 34 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 4b9491aa36fa..e1f9c6fc0414 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -173,7 +173,7 @@ static struct map_desc omap34xx_io_desc[] __initdata = { | |||
173 | }; | 173 | }; |
174 | #endif | 174 | #endif |
175 | 175 | ||
176 | #ifdef CONFIG_SOC_OMAPTI81XX | 176 | #ifdef CONFIG_SOC_TI81XX |
177 | static struct map_desc omapti81xx_io_desc[] __initdata = { | 177 | static struct map_desc omapti81xx_io_desc[] __initdata = { |
178 | { | 178 | { |
179 | .virtual = L4_34XX_VIRT, | 179 | .virtual = L4_34XX_VIRT, |
@@ -184,7 +184,7 @@ static struct map_desc omapti81xx_io_desc[] __initdata = { | |||
184 | }; | 184 | }; |
185 | #endif | 185 | #endif |
186 | 186 | ||
187 | #ifdef CONFIG_SOC_OMAPAM33XX | 187 | #ifdef CONFIG_SOC_AM33XX |
188 | static struct map_desc omapam33xx_io_desc[] __initdata = { | 188 | static struct map_desc omapam33xx_io_desc[] __initdata = { |
189 | { | 189 | { |
190 | .virtual = L4_34XX_VIRT, | 190 | .virtual = L4_34XX_VIRT, |
@@ -216,41 +216,11 @@ static struct map_desc omap44xx_io_desc[] __initdata = { | |||
216 | .type = MT_DEVICE, | 216 | .type = MT_DEVICE, |
217 | }, | 217 | }, |
218 | { | 218 | { |
219 | .virtual = OMAP44XX_GPMC_VIRT, | ||
220 | .pfn = __phys_to_pfn(OMAP44XX_GPMC_PHYS), | ||
221 | .length = OMAP44XX_GPMC_SIZE, | ||
222 | .type = MT_DEVICE, | ||
223 | }, | ||
224 | { | ||
225 | .virtual = OMAP44XX_EMIF1_VIRT, | ||
226 | .pfn = __phys_to_pfn(OMAP44XX_EMIF1_PHYS), | ||
227 | .length = OMAP44XX_EMIF1_SIZE, | ||
228 | .type = MT_DEVICE, | ||
229 | }, | ||
230 | { | ||
231 | .virtual = OMAP44XX_EMIF2_VIRT, | ||
232 | .pfn = __phys_to_pfn(OMAP44XX_EMIF2_PHYS), | ||
233 | .length = OMAP44XX_EMIF2_SIZE, | ||
234 | .type = MT_DEVICE, | ||
235 | }, | ||
236 | { | ||
237 | .virtual = OMAP44XX_DMM_VIRT, | ||
238 | .pfn = __phys_to_pfn(OMAP44XX_DMM_PHYS), | ||
239 | .length = OMAP44XX_DMM_SIZE, | ||
240 | .type = MT_DEVICE, | ||
241 | }, | ||
242 | { | ||
243 | .virtual = L4_PER_44XX_VIRT, | 219 | .virtual = L4_PER_44XX_VIRT, |
244 | .pfn = __phys_to_pfn(L4_PER_44XX_PHYS), | 220 | .pfn = __phys_to_pfn(L4_PER_44XX_PHYS), |
245 | .length = L4_PER_44XX_SIZE, | 221 | .length = L4_PER_44XX_SIZE, |
246 | .type = MT_DEVICE, | 222 | .type = MT_DEVICE, |
247 | }, | 223 | }, |
248 | { | ||
249 | .virtual = L4_EMU_44XX_VIRT, | ||
250 | .pfn = __phys_to_pfn(L4_EMU_44XX_PHYS), | ||
251 | .length = L4_EMU_44XX_SIZE, | ||
252 | .type = MT_DEVICE, | ||
253 | }, | ||
254 | #ifdef CONFIG_OMAP4_ERRATA_I688 | 224 | #ifdef CONFIG_OMAP4_ERRATA_I688 |
255 | { | 225 | { |
256 | .virtual = OMAP4_SRAM_VA, | 226 | .virtual = OMAP4_SRAM_VA, |
@@ -286,14 +256,14 @@ void __init omap34xx_map_common_io(void) | |||
286 | } | 256 | } |
287 | #endif | 257 | #endif |
288 | 258 | ||
289 | #ifdef CONFIG_SOC_OMAPTI81XX | 259 | #ifdef CONFIG_SOC_TI81XX |
290 | void __init omapti81xx_map_common_io(void) | 260 | void __init omapti81xx_map_common_io(void) |
291 | { | 261 | { |
292 | iotable_init(omapti81xx_io_desc, ARRAY_SIZE(omapti81xx_io_desc)); | 262 | iotable_init(omapti81xx_io_desc, ARRAY_SIZE(omapti81xx_io_desc)); |
293 | } | 263 | } |
294 | #endif | 264 | #endif |
295 | 265 | ||
296 | #ifdef CONFIG_SOC_OMAPAM33XX | 266 | #ifdef CONFIG_SOC_AM33XX |
297 | void __init omapam33xx_map_common_io(void) | 267 | void __init omapam33xx_map_common_io(void) |
298 | { | 268 | { |
299 | iotable_init(omapam33xx_io_desc, ARRAY_SIZE(omapam33xx_io_desc)); | 269 | iotable_init(omapam33xx_io_desc, ARRAY_SIZE(omapam33xx_io_desc)); |