s3cmci: Kconfig selection for PIO/DMA/Both
authorBen Dooks <ben@simtec.co.uk>
Thu, 1 Oct 2009 22:44:18 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Oct 2009 23:11:15 +0000 (16:11 -0700)
commit26f14947dbf31d60d1a67eee837a6d28c1e8830d
treee54c009f30d9df49bb2c421eeafec266d67be720
parentc225889375fea2a542f1c9dedffec4c7b8ebc9ab
s3cmci: Kconfig selection for PIO/DMA/Both

Add a selection for the data transfer mode of the s3cmci driver, allowing
for either a configuration or rumtime selection of the use of the DMA or
PIO transfer code.

The PIO only mode is 476 bytes smaller than the driver with both methods
compiled in.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
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/plat-s3c24xx/include/plat/mci.h
drivers/mmc/host/Kconfig
drivers/mmc/host/s3cmci.c