|
@@ -1034,13 +1034,14 @@ static int __init mmc_omap_probe(struct platform_device *pdev)
|
|
|
host->irq = pdev->resource[1].start;
|
|
|
host->base = (void __iomem*)IO_ADDRESS(r->start);
|
|
|
|
|
|
- if (minfo->wire4)
|
|
|
- mmc->caps |= MMC_CAP_4_BIT_DATA;
|
|
|
-
|
|
|
mmc->ops = &mmc_omap_ops;
|
|
|
mmc->f_min = 400000;
|
|
|
mmc->f_max = 24000000;
|
|
|
mmc->ocr_avail = MMC_VDD_32_33|MMC_VDD_33_34;
|
|
|
+ mmc->caps = MMC_CAP_BYTEBLOCK;
|
|
|
+
|
|
|
+ if (minfo->wire4)
|
|
|
+ mmc->caps |= MMC_CAP_4_BIT_DATA;
|
|
|
|
|
|
/* Use scatterlist DMA to reduce per-transfer costs.
|
|
|
* NOTE max_seg_size assumption that small blocks aren't
|