summaryrefslogtreecommitdiff
path: root/board/freescale/mx6sabresd
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-11-15 16:50:27 (GMT)
committerStefano Babic <sbabic@denx.de>2014-11-20 09:30:20 (GMT)
commit1769502b5333c209fa60c7eb821be9ce475ef193 (patch)
tree13d2ecbdf4dbed6ba8884d46b0bd1048d1d46477 /board/freescale/mx6sabresd
parent05beb8e012e8715f551d1fb2f2fa149f2a7dc06a (diff)
downloadu-boot-1769502b5333c209fa60c7eb821be9ce475ef193.tar.xz
mx53loco: 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/freescale/mx6sabresd')
0 files changed, 0 insertions, 0 deletions