summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320/dsp/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tms320dm320/dsp/main.c')
-rw-r--r--firmware/target/arm/tms320dm320/dsp/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/arm/tms320dm320/dsp/main.c b/firmware/target/arm/tms320dm320/dsp/main.c
index a62bb50ba2..8dfd2b6e9f 100644
--- a/firmware/target/arm/tms320dm320/dsp/main.c
+++ b/firmware/target/arm/tms320dm320/dsp/main.c
@@ -29,10 +29,11 @@ void main(void) {
29 TCR = 1 << 4; /* Stop the timer. */ 29 TCR = 1 << 4; /* Stop the timer. */
30 IMR = 0xffff; /* Unmask all interrupts. */ 30 IMR = 0xffff; /* Unmask all interrupts. */
31 IFR = IFR; /* Clear all pending interrupts. */ 31 IFR = IFR; /* Clear all pending interrupts. */
32 PMST |= 1 << 2; /* Turn CLOCKOUT off to save power */
32 asm(" rsbx INTM"); /* Globally enable interrupts. */ 33 asm(" rsbx INTM"); /* Globally enable interrupts. */
33 34
34 audiohw_init(); 35 audiohw_init();
35 36
36 dma_init(); 37 dma_init();
37 38
38#if defined(HAVE_DEBUG) 39#if defined(HAVE_DEBUG)