diff options
author | Marek Vasut <marex@denx.de> | 2012-04-08 18:50:18 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-05-08 18:02:22 -0500 |
commit | e7205905e7b9a483c412eefd2aea290a7eee567b (patch) | |
tree | e3e09193afa1841a6533142a6514ff07c9421305 /drivers/mmc/mxsmmc.c | |
parent | 7a5b80297bc6cef0c10e5f57ac0450678dc7bc5e (diff) | |
download | u-boot-imx-e7205905e7b9a483c412eefd2aea290a7eee567b.zip u-boot-imx-e7205905e7b9a483c412eefd2aea290a7eee567b.tar.gz u-boot-imx-e7205905e7b9a483c412eefd2aea290a7eee567b.tar.bz2 |
i.MX28: Lower the amount of blocks transfered in one DMA cycle
Some MMC cards, like my ancient 32.0MB SanDisk RS-MMC cards had issue if b_max
was set to 0x40 and DMA was enabled. Lower this value to 0x20, which allows
these cards to work too.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'drivers/mmc/mxsmmc.c')
-rw-r--r-- | drivers/mmc/mxsmmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/mxsmmc.c b/drivers/mmc/mxsmmc.c index 35c6bda..6572e95 100644 --- a/drivers/mmc/mxsmmc.c +++ b/drivers/mmc/mxsmmc.c @@ -406,7 +406,7 @@ int mxsmmc_initialize(bd_t *bis, int id, int (*wp)(int)) */ mmc->f_min = 400000; mmc->f_max = mxc_get_clock(MXC_SSP0_CLK + id) * 1000 / 2; - mmc->b_max = 0x40; + mmc->b_max = 0x20; mmc_register(mmc); return 0; |