diff options
author | Bastian Hecht <hechtb@googlemail.com> | 2012-09-22 08:06:38 -0400 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2012-11-05 23:47:23 -0500 |
commit | 40eaed7f7be18a53f9267d336d37f1e13b3a7f93 (patch) | |
tree | b6d2a0769eb8db987571461debe8324160d4a348 /arch/arm/mach-shmobile/setup-sh7372.c | |
parent | ccc2a27b15c978334927cea9f1156f019a01b833 (diff) |
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: Bastian Hecht <hechtb@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/setup-sh7372.c')
-rw-r--r-- | arch/arm/mach-shmobile/setup-sh7372.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c index a07954fbcd22..a36011184c16 100644 --- a/arch/arm/mach-shmobile/setup-sh7372.c +++ b/arch/arm/mach-shmobile/setup-sh7372.c | |||
@@ -408,6 +408,26 @@ static const struct sh_dmae_slave_config sh7372_dmae_slaves[] = { | |||
408 | .chcr = CHCR_RX(XMIT_SZ_8BIT), | 408 | .chcr = CHCR_RX(XMIT_SZ_8BIT), |
409 | .mid_rid = 0x3e, | 409 | .mid_rid = 0x3e, |
410 | }, { | 410 | }, { |
411 | .slave_id = SHDMA_SLAVE_FLCTL0_TX, | ||
412 | .addr = 0xe6a30050, | ||
413 | .chcr = CHCR_TX(XMIT_SZ_32BIT), | ||
414 | .mid_rid = 0x83, | ||
415 | }, { | ||
416 | .slave_id = SHDMA_SLAVE_FLCTL0_RX, | ||
417 | .addr = 0xe6a30050, | ||
418 | .chcr = CHCR_RX(XMIT_SZ_32BIT), | ||
419 | .mid_rid = 0x83, | ||
420 | }, { | ||
421 | .slave_id = SHDMA_SLAVE_FLCTL1_TX, | ||
422 | .addr = 0xe6a30060, | ||
423 | .chcr = CHCR_TX(XMIT_SZ_32BIT), | ||
424 | .mid_rid = 0x87, | ||
425 | }, { | ||
426 | .slave_id = SHDMA_SLAVE_FLCTL1_RX, | ||
427 | .addr = 0xe6a30060, | ||
428 | .chcr = CHCR_RX(XMIT_SZ_32BIT), | ||
429 | .mid_rid = 0x87, | ||
430 | }, { | ||
411 | .slave_id = SHDMA_SLAVE_SDHI0_TX, | 431 | .slave_id = SHDMA_SLAVE_SDHI0_TX, |
412 | .addr = 0xe6850030, | 432 | .addr = 0xe6850030, |
413 | .chcr = CHCR_TX(XMIT_SZ_16BIT), | 433 | .chcr = CHCR_TX(XMIT_SZ_16BIT), |