diff options
author | Tony Lindgren <tony@atomide.com> | 2010-02-12 12:26:47 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-15 09:26:58 -0800 |
commit | 6fbd55d077cdf2aeb7a170ff9f5779d19506bf9e (patch) | |
tree | ce9f17ce3460e69841b48e1e0dbce591f48090d5 /arch/arm/plat-omap | |
parent | 882c0518e5317a41834d0fceee07ae6ada2d7429 (diff) | |
download | blackbird-op-linux-6fbd55d077cdf2aeb7a170ff9f5779d19506bf9e.tar.gz blackbird-op-linux-6fbd55d077cdf2aeb7a170ff9f5779d19506bf9e.zip |
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')
-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; extern void omap1_map_common_io(void); extern void omap1_init_common_hw(void); -extern void omap2_map_common_io(void); +#ifdef CONFIG_ARCH_OMAP2420 +extern void omap242x_map_common_io(void); +#else +static inline void omap242x_map_common_io(void) +{ +} +#endif + +#ifdef CONFIG_ARCH_OMAP2430 +extern void omap243x_map_common_io(void); +#else +static inline void omap243x_map_common_io(void) +{ +} +#endif + +#ifdef CONFIG_ARCH_OMAP34XX +extern void omap34xx_map_common_io(void); +#else +static inline void omap34xx_map_common_io(void) +{ +} +#endif + +#ifdef CONFIG_ARCH_OMAP4 +extern void omap44xx_map_common_io(void); +#else +static inline void omap44xx_map_common_io(void) +{ +} +#endif + extern void omap2_init_common_hw(struct omap_sdrc_params *sdrc_cs0, struct omap_sdrc_params *sdrc_cs1); |