u-boot-brain/board/boundary
Fabio Estevam 612f2dc026 nitrogen6x: Fix error handling in board_mmc_init()
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 Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2014-11-24 12:10:18 +01:00
..
nitrogen6x nitrogen6x: Fix error handling in board_mmc_init() 2014-11-24 12:10:18 +01:00