[U-Boot] [PATCH] fsl_esdhc: Initialize mmc->b_max

Stefano Babic sbabic at denx.de
Fri May 13 11:07:52 CEST 2011


On 05/12/2011 09:33 PM, Fabio Estevam wrote:
> commit 262951(MMC: make b_max unconditional) missed to update fsl_esdhc.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
>  drivers/mmc/fsl_esdhc.c |    1 +
>  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;

Acked-by: Stefano Babic <sbabic at denx.de>

Best regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list