On Monday 01 June 2009, Sudhakar Rajashekhara wrote:
+static void __init map_dmach_param(unsigned ctlr)
+{
+ int i;
+ for (i = 0; i EDMA_MAX_DMACH; i++)
+ edma_write_array(ctlr, EDMA_DCHMAP , i , (i 5));
+}
Best to do this only for valid DMA event numbers.
There
Enables module clock for DM646x EDMA channel controller and transfer controller.
Channel mapping logic is introduced in dm646x EDMA. This implies that there is
no fixed association for a channel number to a parameter entry number. In other
words, using the DMA channel mapping registers (DCHMAPn),