summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/gigabeat-s
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/pcm-gigabeat-s.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/pcm-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/pcm-gigabeat-s.c
index 6cec3ecdd3..c0651caf51 100644
--- a/firmware/target/arm/imx31/gigabeat-s/pcm-gigabeat-s.c
+++ b/firmware/target/arm/imx31/gigabeat-s/pcm-gigabeat-s.c
@@ -32,8 +32,8 @@
32#define DMA_PLAY_CH_PRIORITY 6 32#define DMA_PLAY_CH_PRIORITY 6
33#define DMA_REC_CH_PRIORITY 6 33#define DMA_REC_CH_PRIORITY 6
34 34
35static struct buffer_descriptor dma_play_bd DEVBSS_ATTR; 35static struct buffer_descriptor dma_play_bd NOCACHEBSS_ATTR;
36static struct channel_descriptor dma_play_cd DEVBSS_ATTR; 36static struct channel_descriptor dma_play_cd NOCACHEBSS_ATTR;
37 37
38struct dma_data 38struct dma_data
39{ 39{
@@ -315,7 +315,7 @@ void pcm_play_dma_pause(bool pause)
315/* Return the number of bytes waiting - full L-R sample pairs only */ 315/* Return the number of bytes waiting - full L-R sample pairs only */
316size_t pcm_get_bytes_waiting(void) 316size_t pcm_get_bytes_waiting(void)
317{ 317{
318 static unsigned long dsa DEVBSS_ATTR; 318 static unsigned long dsa NOCACHEBSS_ATTR;
319 long offs, size; 319 long offs, size;
320 int oldstatus; 320 int oldstatus;
321 321
@@ -339,7 +339,7 @@ size_t pcm_get_bytes_waiting(void)
339/* Return a pointer to the samples and the number of them in *count */ 339/* Return a pointer to the samples and the number of them in *count */
340const void * pcm_play_dma_get_peak_buffer(int *count) 340const void * pcm_play_dma_get_peak_buffer(int *count)
341{ 341{
342 static unsigned long dsa DEVBSS_ATTR; 342 static unsigned long dsa NOCACHEBSS_ATTR;
343 unsigned long addr; 343 unsigned long addr;
344 long offs, size; 344 long offs, size;
345 int oldstatus; 345 int oldstatus;
@@ -370,8 +370,8 @@ void * pcm_dma_addr(void *addr)
370} 370}
371 371
372#ifdef HAVE_RECORDING 372#ifdef HAVE_RECORDING
373static struct buffer_descriptor dma_rec_bd DEVBSS_ATTR; 373static struct buffer_descriptor dma_rec_bd NOCACHEBSS_ATTR;
374static struct channel_descriptor dma_rec_cd DEVBSS_ATTR; 374static struct channel_descriptor dma_rec_cd NOCACHEBSS_ATTR;
375 375
376static struct dma_data dma_rec_data = 376static struct dma_data dma_rec_data =
377{ 377{
@@ -526,7 +526,7 @@ void pcm_rec_dma_init(void)
526 526
527const void * pcm_rec_dma_get_peak_buffer(int *count) 527const void * pcm_rec_dma_get_peak_buffer(int *count)
528{ 528{
529 static unsigned long pda DEVBSS_ATTR; 529 static unsigned long pda NOCACHEBSS_ATTR;
530 unsigned long buf, addr, end, bufend; 530 unsigned long buf, addr, end, bufend;
531 int oldstatus; 531 int oldstatus;
532 532