diff options
author | Jarkko Nikula <jarkko.nikula@bitmer.com> | 2011-09-26 03:45:47 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-09-26 20:48:51 -0400 |
commit | 6e574123712b4fb89546b1304dd5438669057723 (patch) | |
tree | d742853e68a4ebeed090a578587886996944fb1a /arch/arm/mach-omap1/mcbsp.c | |
parent | 5167255cae4c10b1acb20fb41ab10e9d5de708c7 (diff) |
ARM: OMAP: mcbsp: Move address definitions to arch/arm/mach-omap1/mcbsp.c
These address definitions are OMAP1 specific can be in single source file.
Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/mcbsp.c')
-rw-r--r-- | arch/arm/mach-omap1/mcbsp.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/mcbsp.c b/arch/arm/mach-omap1/mcbsp.c index 36ab5d83327e..91f9abbd3250 100644 --- a/arch/arm/mach-omap1/mcbsp.c +++ b/arch/arm/mach-omap1/mcbsp.c | |||
@@ -79,6 +79,17 @@ static struct omap_mcbsp_ops omap1_mcbsp_ops = { | |||
79 | .free = omap1_mcbsp_free, | 79 | .free = omap1_mcbsp_free, |
80 | }; | 80 | }; |
81 | 81 | ||
82 | #define OMAP7XX_MCBSP1_BASE 0xfffb1000 | ||
83 | #define OMAP7XX_MCBSP2_BASE 0xfffb1800 | ||
84 | |||
85 | #define OMAP1510_MCBSP1_BASE 0xe1011800 | ||
86 | #define OMAP1510_MCBSP2_BASE 0xfffb1000 | ||
87 | #define OMAP1510_MCBSP3_BASE 0xe1017000 | ||
88 | |||
89 | #define OMAP1610_MCBSP1_BASE 0xe1011800 | ||
90 | #define OMAP1610_MCBSP2_BASE 0xfffb1000 | ||
91 | #define OMAP1610_MCBSP3_BASE 0xe1017000 | ||
92 | |||
82 | #if defined(CONFIG_ARCH_OMAP730) || defined(CONFIG_ARCH_OMAP850) | 93 | #if defined(CONFIG_ARCH_OMAP730) || defined(CONFIG_ARCH_OMAP850) |
83 | struct resource omap7xx_mcbsp_res[][6] = { | 94 | struct resource omap7xx_mcbsp_res[][6] = { |
84 | { | 95 | { |