linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/5 v2] mmc: bfin_sdh: limit mmc DMA segment len to 1 for bf518.
@ 2012-06-14  9:22 Sonic Zhang
  2012-06-14  9:22 ` [PATCH 2/5 v2] mmc: bfin_sdh: Move descriptor array structure into blackfin dma.h head file Sonic Zhang
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Sonic Zhang @ 2012-06-14  9:22 UTC (permalink / raw)
  To: Chris Ball, linux-mmc; +Cc: LKML, uclinux-dist-devel, Sonic Zhang

From: Sonic Zhang <sonic.zhang@analog.com>

bf518 RSI dma doesn't work in array mode.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
---
 drivers/mmc/host/bfin_sdh.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/mmc/host/bfin_sdh.c b/drivers/mmc/host/bfin_sdh.c
index 0366617..fd25b0c 100644
--- a/drivers/mmc/host/bfin_sdh.c
+++ b/drivers/mmc/host/bfin_sdh.c
@@ -469,7 +469,11 @@ static int __devinit sdh_probe(struct platform_device *pdev)
 	}
 
 	mmc->ops = &sdh_ops;
+#if defined(CONFIG_BF54x)
 	mmc->max_segs = 32;
+#elif defined(CONFIG_BF51x)
+	mmc->max_segs = 1;
+#endif
 	mmc->max_seg_size = 1 << 16;
 	mmc->max_blk_size = 1 << 11;
 	mmc->max_blk_count = 1 << 11;
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-06-18  6:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-14  9:22 [PATCH 1/5 v2] mmc: bfin_sdh: limit mmc DMA segment len to 1 for bf518 Sonic Zhang
2012-06-14  9:22 ` [PATCH 2/5 v2] mmc: bfin_sdh: Move descriptor array structure into blackfin dma.h head file Sonic Zhang
2012-06-14  9:22 ` [PATCH 3/5 v2] mmc: bfin_sdh: Port bf5xx SD host driver to support new RSI controller in bf60x Sonic Zhang
2012-06-14  9:22 ` [PATCH 4/5 v2] mmc: bfin_sdh: Remove redundent suspend and resume setting Sonic Zhang
2012-06-14  9:22 ` [PATCH 5/5 v2] mmc: bfin_sdh: Reset SD controller when resume from power saving mode Sonic Zhang
2012-06-18  6:31 ` [PATCH 1/5 v2] mmc: bfin_sdh: limit mmc DMA segment len to 1 for bf518 Sonic Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).