]> git.sur5r.net Git - u-boot/commitdiff
fsl_esdhc: Initialize mmc->b_max
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 12 May 2011 09:33:27 +0000 (09:33 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 18 May 2011 19:37:45 +0000 (14:37 -0500)
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>
drivers/mmc/fsl_esdhc.c

index d2355be6b0101f257fc90edcdca163487695248a..ec953f07d7156760b2ca81e5ee6418efdc91b14b 100644 (file)
@@ -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;