summaryrefslogtreecommitdiff
path: root/board/esd/du405
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-11-15 14:50:26 -0200
committerStefano Babic <sbabic@denx.de>2014-11-20 10:30:19 +0100
commit05beb8e012e8715f551d1fb2f2fa149f2a7dc06a (patch)
tree2a8b11b6c0ce048cf58fd7f15bad907e98a08683 /board/esd/du405
parent3cb4b713e1933f9e3d90766164f952914668daff (diff)
downloadu-boot-imx-05beb8e012e8715f551d1fb2f2fa149f2a7dc06a.zip
u-boot-imx-05beb8e012e8715f551d1fb2f2fa149f2a7dc06a.tar.gz
u-boot-imx-05beb8e012e8715f551d1fb2f2fa149f2a7dc06a.tar.bz2
wandboard: 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/esd/du405')
0 files changed, 0 insertions, 0 deletions