diff options
author | Tony Lindgren <tony@atomide.com> | 2010-02-12 15:26:47 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-15 12:26:58 -0500 |
commit | 6fbd55d077cdf2aeb7a170ff9f5779d19506bf9e (patch) | |
tree | ce9f17ce3460e69841b48e1e0dbce591f48090d5 /arch/arm/plat-omap/include/plat/io.h | |
parent | 882c0518e5317a41834d0fceee07ae6ada2d7429 (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.h | 33 |
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; | |||
268 | extern void omap1_map_common_io(void); | 268 | extern void omap1_map_common_io(void); |
269 | extern void omap1_init_common_hw(void); | 269 | extern void omap1_init_common_hw(void); |
270 | 270 | ||
271 | extern void omap2_map_common_io(void); | 271 | #ifdef CONFIG_ARCH_OMAP2420 |
272 | extern void omap242x_map_common_io(void); | ||
273 | #else | ||
274 | static inline void omap242x_map_common_io(void) | ||
275 | { | ||
276 | } | ||
277 | #endif | ||
278 | |||
279 | #ifdef CONFIG_ARCH_OMAP2430 | ||
280 | extern void omap243x_map_common_io(void); | ||
281 | #else | ||
282 | static inline void omap243x_map_common_io(void) | ||
283 | { | ||
284 | } | ||
285 | #endif | ||
286 | |||
287 | #ifdef CONFIG_ARCH_OMAP34XX | ||
288 | extern void omap34xx_map_common_io(void); | ||
289 | #else | ||
290 | static inline void omap34xx_map_common_io(void) | ||
291 | { | ||
292 | } | ||
293 | #endif | ||
294 | |||
295 | #ifdef CONFIG_ARCH_OMAP4 | ||
296 | extern void omap44xx_map_common_io(void); | ||
297 | #else | ||
298 | static inline void omap44xx_map_common_io(void) | ||
299 | { | ||
300 | } | ||
301 | #endif | ||
302 | |||
272 | extern void omap2_init_common_hw(struct omap_sdrc_params *sdrc_cs0, | 303 | extern 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 | ||