Commit 154cea4f authored by David Brownell's avatar David Brownell Committed by Kevin Hilman

mmc: only dm355 supports high speed

Whoops -- dm6446 can't clock MMC as fast as dm355 can.  Don't tempt it.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent 8f7c6b8d
......@@ -37,6 +37,7 @@
#include <linux/dma-mapping.h>
#include <mach/board.h>
#include <mach/cpu.h>
#include <mach/edma.h>
#include <mach/hardware.h>
#include <mach/irqs.h>
......@@ -1113,8 +1114,11 @@ static int __init davinci_mmcsd_probe(struct platform_device *pdev)
mmc->ops = &mmc_davinci_ops;
mmc->f_min = 312500;
mmc->f_max = 52000000; /* MMCplus @52 MHz; SDHC @50 MHz */
mmc->caps |= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED;
mmc->f_max = 25000000;
if (cpu_is_davinci_dm355()) {
mmc->f_max = 50000000;
mmc->caps |= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED;
}
mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34;
/* with no iommu coalescing pages, each phys_seg is a hw_seg */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment