diff options
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r-- | arch/arm/mach-omap2/io.c | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 26a61cf27291..f992a81c3939 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -175,6 +175,18 @@ static struct map_desc omap34xx_io_desc[] __initdata = { | |||
175 | #endif | 175 | #endif |
176 | }; | 176 | }; |
177 | #endif | 177 | #endif |
178 | |||
179 | #ifdef CONFIG_SOC_OMAPTI816X | ||
180 | static struct map_desc omapti816x_io_desc[] __initdata = { | ||
181 | { | ||
182 | .virtual = L4_34XX_VIRT, | ||
183 | .pfn = __phys_to_pfn(L4_34XX_PHYS), | ||
184 | .length = L4_34XX_SIZE, | ||
185 | .type = MT_DEVICE | ||
186 | }, | ||
187 | }; | ||
188 | #endif | ||
189 | |||
178 | #ifdef CONFIG_ARCH_OMAP4 | 190 | #ifdef CONFIG_ARCH_OMAP4 |
179 | static struct map_desc omap44xx_io_desc[] __initdata = { | 191 | static struct map_desc omap44xx_io_desc[] __initdata = { |
180 | { | 192 | { |
@@ -267,6 +279,14 @@ void __init omap34xx_map_common_io(void) | |||
267 | } | 279 | } |
268 | #endif | 280 | #endif |
269 | 281 | ||
282 | #ifdef CONFIG_SOC_OMAPTI816X | ||
283 | void __init omapti816x_map_common_io(void) | ||
284 | { | ||
285 | iotable_init(omapti816x_io_desc, ARRAY_SIZE(omapti816x_io_desc)); | ||
286 | _omap2_map_common_io(); | ||
287 | } | ||
288 | #endif | ||
289 | |||
270 | #ifdef CONFIG_ARCH_OMAP4 | 290 | #ifdef CONFIG_ARCH_OMAP4 |
271 | void __init omap44xx_map_common_io(void) | 291 | void __init omap44xx_map_common_io(void) |
272 | { | 292 | { |
@@ -398,7 +418,7 @@ void __init omap2_init_common_infrastructure(void) | |||
398 | void __init omap2_init_common_devices(struct omap_sdrc_params *sdrc_cs0, | 418 | void __init omap2_init_common_devices(struct omap_sdrc_params *sdrc_cs0, |
399 | struct omap_sdrc_params *sdrc_cs1) | 419 | struct omap_sdrc_params *sdrc_cs1) |
400 | { | 420 | { |
401 | if (cpu_is_omap24xx() || cpu_is_omap34xx()) { | 421 | if (cpu_is_omap24xx() || omap3_has_sdrc()) { |
402 | omap2_sdrc_init(sdrc_cs0, sdrc_cs1); | 422 | omap2_sdrc_init(sdrc_cs0, sdrc_cs1); |
403 | _omap2_init_reprogram_sdrc(); | 423 | _omap2_init_reprogram_sdrc(); |
404 | } | 424 | } |