Commit 40eaed7f authored by Bastian Hecht's avatar Bastian Hecht Committed by Simon Horman

ARM: mach-shmobile: add FLCTL DMA slave definitions for sh7372

SH7372 can use DMA with the FLCTL flash controller. Add required slave
IDs and slave descriptors.
Signed-off-by: default avatarBastian Hecht <hechtb@gmail.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent ccc2a27b
...@@ -452,6 +452,10 @@ enum { ...@@ -452,6 +452,10 @@ enum {
SHDMA_SLAVE_SCIF5_RX, SHDMA_SLAVE_SCIF5_RX,
SHDMA_SLAVE_SCIF6_TX, SHDMA_SLAVE_SCIF6_TX,
SHDMA_SLAVE_SCIF6_RX, SHDMA_SLAVE_SCIF6_RX,
SHDMA_SLAVE_FLCTL0_TX,
SHDMA_SLAVE_FLCTL0_RX,
SHDMA_SLAVE_FLCTL1_TX,
SHDMA_SLAVE_FLCTL1_RX,
SHDMA_SLAVE_SDHI0_RX, SHDMA_SLAVE_SDHI0_RX,
SHDMA_SLAVE_SDHI0_TX, SHDMA_SLAVE_SDHI0_TX,
SHDMA_SLAVE_SDHI1_RX, SHDMA_SLAVE_SDHI1_RX,
......
...@@ -407,6 +407,26 @@ static const struct sh_dmae_slave_config sh7372_dmae_slaves[] = { ...@@ -407,6 +407,26 @@ static const struct sh_dmae_slave_config sh7372_dmae_slaves[] = {
.addr = 0xe6c30060, .addr = 0xe6c30060,
.chcr = CHCR_RX(XMIT_SZ_8BIT), .chcr = CHCR_RX(XMIT_SZ_8BIT),
.mid_rid = 0x3e, .mid_rid = 0x3e,
}, {
.slave_id = SHDMA_SLAVE_FLCTL0_TX,
.addr = 0xe6a30050,
.chcr = CHCR_TX(XMIT_SZ_32BIT),
.mid_rid = 0x83,
}, {
.slave_id = SHDMA_SLAVE_FLCTL0_RX,
.addr = 0xe6a30050,
.chcr = CHCR_RX(XMIT_SZ_32BIT),
.mid_rid = 0x83,
}, {
.slave_id = SHDMA_SLAVE_FLCTL1_TX,
.addr = 0xe6a30060,
.chcr = CHCR_TX(XMIT_SZ_32BIT),
.mid_rid = 0x87,
}, {
.slave_id = SHDMA_SLAVE_FLCTL1_RX,
.addr = 0xe6a30060,
.chcr = CHCR_RX(XMIT_SZ_32BIT),
.mid_rid = 0x87,
}, { }, {
.slave_id = SHDMA_SLAVE_SDHI0_TX, .slave_id = SHDMA_SLAVE_SDHI0_TX,
.addr = 0xe6850030, .addr = 0xe6850030,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment