[U-Boot] [PATCH 3/3] mx6boards: Fix error handling in board_mmc_init()

Stefano Babic sbabic at denx.de
Mon Nov 24 12:06:26 CET 2014


On 21/11/2014 19:42, 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.
> 
> Cc: Eric Benard <eric at eukrea.com>
> 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