summaryrefslogtreecommitdiff
path: root/board/tcm-bf537/tcm-bf537.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-11-06 12:24:24 -0200
committerStefano Babic <sbabic@denx.de>2014-11-13 18:06:13 +0100
commit952fdc4e83f44691908aa892c9ff476dbc9371f8 (patch)
tree028e18de115b00124bd52e73a11aca7c87b05653 /board/tcm-bf537/tcm-bf537.c
parent11076f0cac4cceff78fe673c52b6891ee9286471 (diff)
downloadu-boot-imx-952fdc4e83f44691908aa892c9ff476dbc9371f8.zip
u-boot-imx-952fdc4e83f44691908aa892c9ff476dbc9371f8.tar.gz
u-boot-imx-952fdc4e83f44691908aa892c9ff476dbc9371f8.tar.bz2
mx6sabresd: 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. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/tcm-bf537/tcm-bf537.c')
0 files changed, 0 insertions, 0 deletions