io.c (1e6cb146c39cdef1ffc340c13637fce2ba5575be) io.c (a920360f038e976e7a86b002e209402da20e9147)
1/*
2 * linux/arch/arm/mach-omap2/io.c
3 *
4 * OMAP2 I/O mapping code
5 *
6 * Copyright (C) 2005 Nokia Corporation
7 * Copyright (C) 2007-2009 Texas Instruments
8 *

--- 162 unchanged lines hidden (view full) ---

171 .pfn = __phys_to_pfn(ZOOM_UART_BASE),
172 .length = SZ_1M,
173 .type = MT_DEVICE
174 },
175#endif
176};
177#endif
178
1/*
2 * linux/arch/arm/mach-omap2/io.c
3 *
4 * OMAP2 I/O mapping code
5 *
6 * Copyright (C) 2005 Nokia Corporation
7 * Copyright (C) 2007-2009 Texas Instruments
8 *

--- 162 unchanged lines hidden (view full) ---

171 .pfn = __phys_to_pfn(ZOOM_UART_BASE),
172 .length = SZ_1M,
173 .type = MT_DEVICE
174 },
175#endif
176};
177#endif
178
179#ifdef CONFIG_SOC_OMAPTI816X
180static struct map_desc omapti816x_io_desc[] __initdata = {
179#ifdef CONFIG_SOC_OMAPTI81XX
180static struct map_desc omapti81xx_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

--- 86 unchanged lines hidden (view full) ---

275
276#ifdef CONFIG_ARCH_OMAP3
277void __init omap34xx_map_common_io(void)
278{
279 iotable_init(omap34xx_io_desc, ARRAY_SIZE(omap34xx_io_desc));
280}
281#endif
282
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

--- 86 unchanged lines hidden (view full) ---

275
276#ifdef CONFIG_ARCH_OMAP3
277void __init omap34xx_map_common_io(void)
278{
279 iotable_init(omap34xx_io_desc, ARRAY_SIZE(omap34xx_io_desc));
280}
281#endif
282
283#ifdef CONFIG_SOC_OMAPTI816X
284void __init omapti816x_map_common_io(void)
283#ifdef CONFIG_SOC_OMAPTI81XX
284void __init omapti81xx_map_common_io(void)
285{
285{
286 iotable_init(omapti816x_io_desc, ARRAY_SIZE(omapti816x_io_desc));
286 iotable_init(omapti81xx_io_desc, ARRAY_SIZE(omapti81xx_io_desc));
287}
288#endif
289
290#ifdef CONFIG_SOC_OMAPAM33XX
291void __init omapam33xx_map_common_io(void)
292{
293 iotable_init(omapam33xx_io_desc, ARRAY_SIZE(omapam33xx_io_desc));
294}

--- 142 unchanged lines hidden (view full) ---

437 omap3_init_early();
438}
439
440void __init am35xx_init_early(void)
441{
442 omap3_init_early();
443}
444
287}
288#endif
289
290#ifdef CONFIG_SOC_OMAPAM33XX
291void __init omapam33xx_map_common_io(void)
292{
293 iotable_init(omapam33xx_io_desc, ARRAY_SIZE(omapam33xx_io_desc));
294}

--- 142 unchanged lines hidden (view full) ---

437 omap3_init_early();
438}
439
440void __init am35xx_init_early(void)
441{
442 omap3_init_early();
443}
444
445void __init ti816x_init_early(void)
445void __init ti81xx_init_early(void)
446{
446{
447 omap2_set_globals_ti816x();
447 omap2_set_globals_ti81xx();
448 omap_common_init_early();
449 omap3xxx_voltagedomains_init();
450 omap3xxx_powerdomains_init();
451 omap3xxx_clockdomains_init();
452 omap3xxx_hwmod_init();
453 omap_hwmod_init_postsetup();
454 omap3xxx_clk_init();
455}

--- 66 unchanged lines hidden ---
448 omap_common_init_early();
449 omap3xxx_voltagedomains_init();
450 omap3xxx_powerdomains_init();
451 omap3xxx_clockdomains_init();
452 omap3xxx_hwmod_init();
453 omap_hwmod_init_postsetup();
454 omap3xxx_clk_init();
455}

--- 66 unchanged lines hidden ---