io.c (088ef950dc0dd58d2f339e1616c9092fea923f06) | io.c (a8eb7ca0cbb41c9cd379b8d2a2a5efb503aa65e9) |
---|---|
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 * --- 111 unchanged lines hidden (view full) --- 120 .pfn = __phys_to_pfn(OMAP243X_SMS_PHYS), 121 .length = OMAP243X_SMS_SIZE, 122 .type = MT_DEVICE 123 }, 124}; 125#endif 126#endif 127 | 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 * --- 111 unchanged lines hidden (view full) --- 120 .pfn = __phys_to_pfn(OMAP243X_SMS_PHYS), 121 .length = OMAP243X_SMS_SIZE, 122 .type = MT_DEVICE 123 }, 124}; 125#endif 126#endif 127 |
128#ifdef CONFIG_ARCH_OMAP34XX | 128#ifdef CONFIG_ARCH_OMAP3 |
129static struct map_desc omap34xx_io_desc[] __initdata = { 130 { 131 .virtual = L3_34XX_VIRT, 132 .pfn = __phys_to_pfn(L3_34XX_PHYS), 133 .length = L3_34XX_SIZE, 134 .type = MT_DEVICE 135 }, 136 { --- 127 unchanged lines hidden (view full) --- 264void __init omap243x_map_common_io() 265{ 266 iotable_init(omap24xx_io_desc, ARRAY_SIZE(omap24xx_io_desc)); 267 iotable_init(omap243x_io_desc, ARRAY_SIZE(omap243x_io_desc)); 268 _omap2_map_common_io(); 269} 270#endif 271 | 129static struct map_desc omap34xx_io_desc[] __initdata = { 130 { 131 .virtual = L3_34XX_VIRT, 132 .pfn = __phys_to_pfn(L3_34XX_PHYS), 133 .length = L3_34XX_SIZE, 134 .type = MT_DEVICE 135 }, 136 { --- 127 unchanged lines hidden (view full) --- 264void __init omap243x_map_common_io() 265{ 266 iotable_init(omap24xx_io_desc, ARRAY_SIZE(omap24xx_io_desc)); 267 iotable_init(omap243x_io_desc, ARRAY_SIZE(omap243x_io_desc)); 268 _omap2_map_common_io(); 269} 270#endif 271 |
272#ifdef CONFIG_ARCH_OMAP34XX | 272#ifdef CONFIG_ARCH_OMAP3 |
273void __init omap34xx_map_common_io() 274{ 275 iotable_init(omap34xx_io_desc, ARRAY_SIZE(omap34xx_io_desc)); 276 _omap2_map_common_io(); 277} 278#endif 279 280#ifdef CONFIG_ARCH_OMAP4 --- 80 unchanged lines hidden --- | 273void __init omap34xx_map_common_io() 274{ 275 iotable_init(omap34xx_io_desc, ARRAY_SIZE(omap34xx_io_desc)); 276 _omap2_map_common_io(); 277} 278#endif 279 280#ifdef CONFIG_ARCH_OMAP4 --- 80 unchanged lines hidden --- |