[U-Boot] [PATCH 2/2] mx53loco: Fix error handling in board_mmc_init()

Stefano Babic sbabic at denx.de
Thu Nov 20 10:40:33 CET 2014


On 15/11/2014 17:50, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> When an invalid USDHC port is passed we should return -EINVAL instead of 0.
> 
> Also, return the error immediately on fsl_esdhc_initialize() failure.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---


Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic


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


More information about the U-Boot mailing list