diff options
Diffstat (limited to 'arch/arm/plat-omap/mcbsp.c')
| -rw-r--r-- | arch/arm/plat-omap/mcbsp.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/mcbsp.c b/arch/arm/plat-omap/mcbsp.c index 43567d5edddb..9c9b7df3faf6 100644 --- a/arch/arm/plat-omap/mcbsp.c +++ b/arch/arm/plat-omap/mcbsp.c | |||
| @@ -27,6 +27,7 @@ | |||
| 27 | #include <asm/arch/dma.h> | 27 | #include <asm/arch/dma.h> |
| 28 | #include <asm/arch/mux.h> | 28 | #include <asm/arch/mux.h> |
| 29 | #include <asm/arch/irqs.h> | 29 | #include <asm/arch/irqs.h> |
| 30 | #include <asm/arch/dsp_common.h> | ||
| 30 | #include <asm/arch/mcbsp.h> | 31 | #include <asm/arch/mcbsp.h> |
| 31 | 32 | ||
| 32 | #include <asm/hardware/clock.h> | 33 | #include <asm/hardware/clock.h> |
| @@ -187,9 +188,6 @@ static int omap_mcbsp_check(unsigned int id) | |||
| 187 | return -1; | 188 | return -1; |
| 188 | } | 189 | } |
| 189 | 190 | ||
| 190 | #define EN_XORPCK 1 | ||
| 191 | #define DSP_RSTCT2 0xe1008014 | ||
| 192 | |||
| 193 | static void omap_mcbsp_dsp_request(void) | 191 | static void omap_mcbsp_dsp_request(void) |
| 194 | { | 192 | { |
| 195 | if (cpu_is_omap1510() || cpu_is_omap16xx()) { | 193 | if (cpu_is_omap1510() || cpu_is_omap16xx()) { |
| @@ -198,6 +196,11 @@ static void omap_mcbsp_dsp_request(void) | |||
| 198 | 196 | ||
| 199 | /* enable 12MHz clock to mcbsp 1 & 3 */ | 197 | /* enable 12MHz clock to mcbsp 1 & 3 */ |
| 200 | clk_use(mcbsp_dspxor_ck); | 198 | clk_use(mcbsp_dspxor_ck); |
| 199 | |||
| 200 | /* | ||
| 201 | * DSP external peripheral reset | ||
| 202 | * FIXME: This should be moved to dsp code | ||
| 203 | */ | ||
| 201 | __raw_writew(__raw_readw(DSP_RSTCT2) | 1 | 1 << 1, | 204 | __raw_writew(__raw_readw(DSP_RSTCT2) | 1 | 1 << 1, |
| 202 | DSP_RSTCT2); | 205 | DSP_RSTCT2); |
| 203 | } | 206 | } |
