aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/io.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2010-02-12 15:26:47 -0500
committerTony Lindgren <tony@atomide.com>2010-02-15 12:26:58 -0500
commit6fbd55d077cdf2aeb7a170ff9f5779d19506bf9e (patch)
treece9f17ce3460e69841b48e1e0dbce591f48090d5 /arch/arm/plat-omap/include/plat/io.h
parent882c0518e5317a41834d0fceee07ae6ada2d7429 (diff)
omap2/3/4: Fix omap2_map_common_io for multi-omap
Fix omap2_map_common_io for multi-omap Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/io.h')
-rw-r--r--arch/arm/plat-omap/include/plat/io.h33
1 files changed, 32 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/io.h b/arch/arm/plat-omap/include/plat/io.h
index a3e7b471bcba..19257bbbc9f3 100644
--- a/arch/arm/plat-omap/include/plat/io.h
+++ b/arch/arm/plat-omap/include/plat/io.h
@@ -268,7 +268,38 @@ struct omap_sdrc_params;
268extern void omap1_map_common_io(void); 268extern void omap1_map_common_io(void);
269extern void omap1_init_common_hw(void); 269extern void omap1_init_common_hw(void);
270 270
271extern void omap2_map_common_io(void); 271#ifdef CONFIG_ARCH_OMAP2420
272extern void omap242x_map_common_io(void);
273#else
274static inline void omap242x_map_common_io(void)
275{
276}
277#endif
278
279#ifdef CONFIG_ARCH_OMAP2430
280extern void omap243x_map_common_io(void);
281#else
282static inline void omap243x_map_common_io(void)
283{
284}
285#endif
286
287#ifdef CONFIG_ARCH_OMAP34XX
288extern void omap34xx_map_common_io(void);
289#else
290static inline void omap34xx_map_common_io(void)
291{
292}
293#endif
294
295#ifdef CONFIG_ARCH_OMAP4
296extern void omap44xx_map_common_io(void);
297#else
298static inline void omap44xx_map_common_io(void)
299{
300}
301#endif
302
272extern void omap2_init_common_hw(struct omap_sdrc_params *sdrc_cs0, 303extern void omap2_init_common_hw(struct omap_sdrc_params *sdrc_cs0,
273 struct omap_sdrc_params *sdrc_cs1); 304 struct omap_sdrc_params *sdrc_cs1);
274 305