summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/bfin_sdh.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/bfin_sdh.c')
-rw-r--r--drivers/mmc/host/bfin_sdh.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/bfin_sdh.c b/drivers/mmc/host/bfin_sdh.c
index a17dd7363ceb..56a10938b44a 100644
--- a/drivers/mmc/host/bfin_sdh.c
+++ b/drivers/mmc/host/bfin_sdh.c
@@ -462,7 +462,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;