summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-05-12 09:33:27 +0000
committerAndy Fleming <afleming@freescale.com>2011-05-18 14:37:45 -0500
commit1ed60d7ade5dc2c93c5b11c2a899369f2da9b1f8 (patch)
tree66c3244e7825cbd5f8d993f01dab99b47901a5f9 /drivers
parentbc897b1d4d86597311430dbe7b3e6c807c8c53e5 (diff)
downloadu-boot-imx-1ed60d7ade5dc2c93c5b11c2a899369f2da9b1f8.zip
u-boot-imx-1ed60d7ade5dc2c93c5b11c2a899369f2da9b1f8.tar.gz
u-boot-imx-1ed60d7ade5dc2c93c5b11c2a899369f2da9b1f8.tar.bz2
fsl_esdhc: Initialize mmc->b_max
commit 262951(MMC: make b_max unconditional) missed to update fsl_esdhc. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/fsl_esdhc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
index d2355be..ec953f0 100644
--- a/drivers/mmc/fsl_esdhc.c
+++ b/drivers/mmc/fsl_esdhc.c
@@ -525,6 +525,7 @@ int fsl_esdhc_initialize(bd_t *bis, struct fsl_esdhc_cfg *cfg)
mmc->f_min = 400000;
mmc->f_max = MIN(gd->sdhc_clk, 52000000);
+ mmc->b_max = 0;
mmc_register(mmc);
return 0;