dmaengine: shdma: add chcr_write/read function
CHCR register position is not same in all DMAC. This patch adds new "chcr_offset" to decide it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:

committed by
Paul Mundt

parent
090b91805a
commit
5899a723b3
@@ -62,6 +62,7 @@ struct sh_dmae_pdata {
|
||||
const unsigned int *ts_shift;
|
||||
int ts_shift_num;
|
||||
u16 dmaor_init;
|
||||
unsigned int chcr_offset;
|
||||
};
|
||||
|
||||
/* DMA register */
|
||||
|
Reference in New Issue
Block a user