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

Stefano Babic sbabic at denx.de
Thu Nov 13 18:03:29 CET 2014


On 06/11/2014 15:24, Fabio Estevam wrote:
> 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