diff options
author | Tony Lindgren <tony@atomide.com> | 2012-02-24 13:34:33 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-02-24 13:34:33 -0500 |
commit | 258ee922d7a4b4a9cfb947ce0e24d89f1ef20eb5 (patch) | |
tree | 96b17b8ccacb8a5778e2a9fd269527a63cf9b665 | |
parent | 1ca8c07bda717c683a8fb148f92ab484928414b6 (diff) |
ARM: OMAP2+: Move SDRC related functions from io.h into local common.h
These should be local to omap2/3/4.
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap2/common.h | 5 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/io.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h index febffde2ff10..5aa1acbcc33e 100644 --- a/arch/arm/mach-omap2/common.h +++ b/arch/arm/mach-omap2/common.h | |||
@@ -235,5 +235,10 @@ static inline u32 omap4_mpuss_read_prev_context_state(void) | |||
235 | return 0; | 235 | return 0; |
236 | } | 236 | } |
237 | #endif | 237 | #endif |
238 | |||
239 | struct omap_sdrc_params; | ||
240 | extern void omap_sdrc_init(struct omap_sdrc_params *sdrc_cs0, | ||
241 | struct omap_sdrc_params *sdrc_cs1); | ||
242 | |||
238 | #endif /* __ASSEMBLER__ */ | 243 | #endif /* __ASSEMBLER__ */ |
239 | #endif /* __ARCH_ARM_MACH_OMAP2PLUS_COMMON_H */ | 244 | #endif /* __ARCH_ARM_MACH_OMAP2PLUS_COMMON_H */ |
diff --git a/arch/arm/plat-omap/include/plat/io.h b/arch/arm/plat-omap/include/plat/io.h index 0696bae1818b..f5b386b76361 100644 --- a/arch/arm/plat-omap/include/plat/io.h +++ b/arch/arm/plat-omap/include/plat/io.h | |||
@@ -266,10 +266,6 @@ extern void omap_writeb(u8 v, u32 pa); | |||
266 | extern void omap_writew(u16 v, u32 pa); | 266 | extern void omap_writew(u16 v, u32 pa); |
267 | extern void omap_writel(u32 v, u32 pa); | 267 | extern void omap_writel(u32 v, u32 pa); |
268 | 268 | ||
269 | struct omap_sdrc_params; | ||
270 | extern void omap_sdrc_init(struct omap_sdrc_params *sdrc_cs0, | ||
271 | struct omap_sdrc_params *sdrc_cs1); | ||
272 | |||
273 | extern void __init omap_init_consistent_dma_size(void); | 269 | extern void __init omap_init_consistent_dma_size(void); |
274 | 270 | ||
275 | #endif | 271 | #endif |