diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-11-21 16:42:56 -0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-11-24 12:10:18 +0100 |
commit | e37197acad30928b434c54842642b11ce5f3639b (patch) | |
tree | f5ea53472b322f636c1c2efaaa75c88c50eec87f /include/initcall.h | |
parent | 44b9841d7898a03e73b5054f56303514a5b35db8 (diff) | |
download | u-boot-imx-e37197acad30928b434c54842642b11ce5f3639b.zip u-boot-imx-e37197acad30928b434c54842642b11ce5f3639b.tar.gz u-boot-imx-e37197acad30928b434c54842642b11ce5f3639b.tar.bz2 |
ot1200: 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: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/initcall.h')
0 files changed, 0 insertions, 0 deletions