]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
atmel-mci: change use of dma slave interface
authorNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 15 Dec 2009 02:01:30 +0000 (18:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:35 +0000 (08:53 -0800)
commit2635d1ba711560d521f6218c585a3e0401f566e1
tree11c8f09f15cd2f19bfd6f2d2d9b2cac67544179f
parentbd68e0838fe85794b06892054772fa013a8d1986
atmel-mci: change use of dma slave interface

Allow the use of another DMA controller driver in atmel-mci sd/mmc driver.
 This adds a generic dma_slave pointer to the mci platform structure where
we can store DMA controller information.  In atmel-mci we use information
provided by this structure to initialize the driver (with new helper
functions that are architecture dependant).

This also adds at32/avr32 chip modifications to cope with this new access
method.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/mach-at91/include/mach/atmel-mci.h [new file with mode: 0644]
arch/avr32/mach-at32ap/at32ap700x.c
arch/avr32/mach-at32ap/include/mach/atmel-mci.h [new file with mode: 0644]
drivers/mmc/host/atmel-mci.c
include/linux/atmel-mci.h