[U-Boot] [PATCH] tbs2910: Fix error handling in board_mmc_init()

Stefano Babic sbabic at denx.de
Fri Nov 21 16:43:01 CET 2014


On 20/11/2014 13:03, Soeren Moch 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.
> 
> Based on similar patches by Fabio Estevam for mx6sabresd, mx53loco, wandboard
> 
> Signed-off-by: Soeren Moch <smoch at web.de>
> --


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