aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-omap/include/plat/io.h')
-rw-r--r--arch/arm/plat-omap/include/plat/io.h42
1 files changed, 32 insertions, 10 deletions
diff --git a/arch/arm/plat-omap/include/plat/io.h b/arch/arm/plat-omap/include/plat/io.h
index a3e7b471bcba..128b549c2796 100644
--- a/arch/arm/plat-omap/include/plat/io.h
+++ b/arch/arm/plat-omap/include/plat/io.h
@@ -158,10 +158,6 @@
158 * VPOM3430 was not working for Int controller 158 * VPOM3430 was not working for Int controller
159 */ 159 */
160 160
161#define L4_WK_34XX_PHYS L4_WK_34XX_BASE /* 0x48300000 --> 0xfa300000 */
162#define L4_WK_34XX_VIRT (L4_WK_34XX_PHYS + OMAP2_L4_IO_OFFSET)
163#define L4_WK_34XX_SIZE SZ_1M
164
165#define L4_PER_34XX_PHYS L4_PER_34XX_BASE 161#define L4_PER_34XX_PHYS L4_PER_34XX_BASE
166 /* 0x49000000 --> 0xfb000000 */ 162 /* 0x49000000 --> 0xfb000000 */
167#define L4_PER_34XX_VIRT (L4_PER_34XX_PHYS + OMAP2_L4_IO_OFFSET) 163#define L4_PER_34XX_VIRT (L4_PER_34XX_PHYS + OMAP2_L4_IO_OFFSET)
@@ -204,11 +200,6 @@
204#define L4_44XX_VIRT (L4_44XX_PHYS + OMAP2_L4_IO_OFFSET) 200#define L4_44XX_VIRT (L4_44XX_PHYS + OMAP2_L4_IO_OFFSET)
205#define L4_44XX_SIZE SZ_4M 201#define L4_44XX_SIZE SZ_4M
206 202
207
208#define L4_WK_44XX_PHYS L4_WK_44XX_BASE /* 0x4a300000 --> 0xfc300000 */
209#define L4_WK_44XX_VIRT (L4_WK_44XX_PHYS + OMAP2_L4_IO_OFFSET)
210#define L4_WK_44XX_SIZE SZ_1M
211
212#define L4_PER_44XX_PHYS L4_PER_44XX_BASE 203#define L4_PER_44XX_PHYS L4_PER_44XX_BASE
213 /* 0x48000000 --> 0xfa000000 */ 204 /* 0x48000000 --> 0xfa000000 */
214#define L4_PER_44XX_VIRT (L4_PER_44XX_PHYS + OMAP2_L4_IO_OFFSET) 205#define L4_PER_44XX_VIRT (L4_PER_44XX_PHYS + OMAP2_L4_IO_OFFSET)
@@ -268,7 +259,38 @@ struct omap_sdrc_params;
268extern void omap1_map_common_io(void); 259extern void omap1_map_common_io(void);
269extern void omap1_init_common_hw(void); 260extern void omap1_init_common_hw(void);
270 261
271extern void omap2_map_common_io(void); 262#ifdef CONFIG_ARCH_OMAP2420
263extern void omap242x_map_common_io(void);
264#else
265static inline void omap242x_map_common_io(void)
266{
267}
268#endif
269
270#ifdef CONFIG_ARCH_OMAP2430
271extern void omap243x_map_common_io(void);
272#else
273static inline void omap243x_map_common_io(void)
274{
275}
276#endif
277
278#ifdef CONFIG_ARCH_OMAP3
279extern void omap34xx_map_common_io(void);
280#else
281static inline void omap34xx_map_common_io(void)
282{
283}
284#endif
285
286#ifdef CONFIG_ARCH_OMAP4
287extern void omap44xx_map_common_io(void);
288#else
289static inline void omap44xx_map_common_io(void)
290{
291}
292#endif
293
272extern void omap2_init_common_hw(struct omap_sdrc_params *sdrc_cs0, 294extern void omap2_init_common_hw(struct omap_sdrc_params *sdrc_cs0,
273 struct omap_sdrc_params *sdrc_cs1); 295 struct omap_sdrc_params *sdrc_cs1);
274 296