提交 0462566b 编写于 作者: S Sonic Zhang 提交者: Chris Ball

mmc: bfin_sdh: limit mmc DMA segment len to 1 for bf518.

bf518 RSI dma doesn't work in array mode.
Signed-off-by: NSonic Zhang <sonic.zhang@analog.com>
Signed-off-by: NChris Ball <cjb@laptop.org>
上级 109ec8c3
...@@ -462,7 +462,11 @@ static int __devinit sdh_probe(struct platform_device *pdev) ...@@ -462,7 +462,11 @@ static int __devinit sdh_probe(struct platform_device *pdev)
} }
mmc->ops = &sdh_ops; mmc->ops = &sdh_ops;
#if defined(CONFIG_BF54x)
mmc->max_segs = 32; mmc->max_segs = 32;
#elif defined(CONFIG_BF51x)
mmc->max_segs = 1;
#endif
mmc->max_seg_size = 1 << 16; mmc->max_seg_size = 1 << 16;
mmc->max_blk_size = 1 << 11; mmc->max_blk_size = 1 << 11;
mmc->max_blk_count = 1 << 11; mmc->max_blk_count = 1 << 11;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册