diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2007-08-03 17:43:29 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-08-03 17:43:29 +0800 |
commit | a924db7c00655447c5228bd74da070c69b7cadbc (patch) | |
tree | 5e19fb9a35edcc4b0066fe529d3c9f8f828f147c /arch/blackfin/kernel/bfin_dma_5xx.c | |
parent | 7735cefc4583175486685fced2f457fbe0fd5855 (diff) |
Blackfin arch: Add option to priorize DMA over Core
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/kernel/bfin_dma_5xx.c')
-rw-r--r-- | arch/blackfin/kernel/bfin_dma_5xx.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/bfin_dma_5xx.c b/arch/blackfin/kernel/bfin_dma_5xx.c index 7e220190835..62f5a35c13e 100644 --- a/arch/blackfin/kernel/bfin_dma_5xx.c +++ b/arch/blackfin/kernel/bfin_dma_5xx.c @@ -73,6 +73,11 @@ static int __init blackfin_dma_init(void) /* Mark MEMDMA Channel 0 as requested since we're using it internally */ dma_ch[CH_MEM_STREAM0_DEST].chan_status = DMA_CHANNEL_REQUESTED; dma_ch[CH_MEM_STREAM0_SRC].chan_status = DMA_CHANNEL_REQUESTED; + +#if defined(CONFIG_DEB_DMA_URGENT) + bfin_write_EBIU_DDRQUE(bfin_read_EBIU_DDRQUE() + | DEB1_URGENT | DEB2_URGENT | DEB3_URGENT); +#endif return 0; } |