io.c (9f9605c2eda9679e6f63c605cbd9cbf6a9a7f3fa) io.c (59b479e0985f0b795d68331d6443a7f89c47768d)
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 *

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

61 {
62 .virtual = L4_24XX_VIRT,
63 .pfn = __phys_to_pfn(L4_24XX_PHYS),
64 .length = L4_24XX_SIZE,
65 .type = MT_DEVICE
66 },
67};
68
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 *

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

61 {
62 .virtual = L4_24XX_VIRT,
63 .pfn = __phys_to_pfn(L4_24XX_PHYS),
64 .length = L4_24XX_SIZE,
65 .type = MT_DEVICE
66 },
67};
68
69#ifdef CONFIG_ARCH_OMAP2420
69#ifdef CONFIG_SOC_OMAP2420
70static struct map_desc omap242x_io_desc[] __initdata = {
71 {
72 .virtual = DSP_MEM_2420_VIRT,
73 .pfn = __phys_to_pfn(DSP_MEM_2420_PHYS),
74 .length = DSP_MEM_2420_SIZE,
75 .type = MT_DEVICE
76 },
77 {

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

85 .pfn = __phys_to_pfn(DSP_MMU_2420_PHYS),
86 .length = DSP_MMU_2420_SIZE,
87 .type = MT_DEVICE
88 },
89};
90
91#endif
92
70static struct map_desc omap242x_io_desc[] __initdata = {
71 {
72 .virtual = DSP_MEM_2420_VIRT,
73 .pfn = __phys_to_pfn(DSP_MEM_2420_PHYS),
74 .length = DSP_MEM_2420_SIZE,
75 .type = MT_DEVICE
76 },
77 {

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

85 .pfn = __phys_to_pfn(DSP_MMU_2420_PHYS),
86 .length = DSP_MMU_2420_SIZE,
87 .type = MT_DEVICE
88 },
89};
90
91#endif
92
93#ifdef CONFIG_ARCH_OMAP2430
93#ifdef CONFIG_SOC_OMAP2430
94static struct map_desc omap243x_io_desc[] __initdata = {
95 {
96 .virtual = L4_WK_243X_VIRT,
97 .pfn = __phys_to_pfn(L4_WK_243X_PHYS),
98 .length = L4_WK_243X_SIZE,
99 .type = MT_DEVICE
100 },
101 {

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

236 */
237 local_flush_tlb_all();
238 flush_cache_all();
239
240 omap2_check_revision();
241 omap_sram_init();
242}
243
94static struct map_desc omap243x_io_desc[] __initdata = {
95 {
96 .virtual = L4_WK_243X_VIRT,
97 .pfn = __phys_to_pfn(L4_WK_243X_PHYS),
98 .length = L4_WK_243X_SIZE,
99 .type = MT_DEVICE
100 },
101 {

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

236 */
237 local_flush_tlb_all();
238 flush_cache_all();
239
240 omap2_check_revision();
241 omap_sram_init();
242}
243
244#ifdef CONFIG_ARCH_OMAP2420
244#ifdef CONFIG_SOC_OMAP2420
245void __init omap242x_map_common_io(void)
246{
247 iotable_init(omap24xx_io_desc, ARRAY_SIZE(omap24xx_io_desc));
248 iotable_init(omap242x_io_desc, ARRAY_SIZE(omap242x_io_desc));
249 _omap2_map_common_io();
250}
251#endif
252
245void __init omap242x_map_common_io(void)
246{
247 iotable_init(omap24xx_io_desc, ARRAY_SIZE(omap24xx_io_desc));
248 iotable_init(omap242x_io_desc, ARRAY_SIZE(omap242x_io_desc));
249 _omap2_map_common_io();
250}
251#endif
252
253#ifdef CONFIG_ARCH_OMAP2430
253#ifdef CONFIG_SOC_OMAP2430
254void __init omap243x_map_common_io(void)
255{
256 iotable_init(omap24xx_io_desc, ARRAY_SIZE(omap24xx_io_desc));
257 iotable_init(omap243x_io_desc, ARRAY_SIZE(omap243x_io_desc));
258 _omap2_map_common_io();
259}
260#endif
261

--- 191 unchanged lines hidden ---
254void __init omap243x_map_common_io(void)
255{
256 iotable_init(omap24xx_io_desc, ARRAY_SIZE(omap24xx_io_desc));
257 iotable_init(omap243x_io_desc, ARRAY_SIZE(omap243x_io_desc));
258 _omap2_map_common_io();
259}
260#endif
261

--- 191 unchanged lines hidden ---