aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2009-10-01 18:44:18 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-01 19:11:15 -0400
commit26f14947dbf31d60d1a67eee837a6d28c1e8830d (patch)
treee54c009f30d9df49bb2c421eeafec266d67be720 /arch
parentc225889375fea2a542f1c9dedffec4c7b8ebc9ab (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-s3c24xx/include/plat/mci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c24xx/include/plat/mci.h b/arch/arm/plat-s3c24xx/include/plat/mci.h
index 2d0852ac3b27..f1bd6d4198d4 100644
--- a/arch/arm/plat-s3c24xx/include/plat/mci.h
+++ b/arch/arm/plat-s3c24xx/include/plat/mci.h
@@ -4,6 +4,7 @@
4struct s3c24xx_mci_pdata { 4struct s3c24xx_mci_pdata {
5 unsigned int wprotect_invert : 1; 5 unsigned int wprotect_invert : 1;
6 unsigned int detect_invert : 1; /* set => detect active high. */ 6 unsigned int detect_invert : 1; /* set => detect active high. */
7 unsigned int use_dma : 1;
7 8
8 unsigned int gpio_detect; 9 unsigned int gpio_detect;
9 unsigned int gpio_wprotect; 10 unsigned int gpio_wprotect;