spl_mmc: return error from mmc_load_image_{raw, fat} rather than hanging
authorPeter Korsgaard <peter.korsgaard@barco.com>
Mon, 13 May 2013 08:36:25 +0000 (08:36 +0000)
committerTom Rini <trini@ti.com>
Fri, 7 Jun 2013 12:37:48 +0000 (08:37 -0400)
commit79adb7a2b54b0b34ec4defac33d6ee8277976ddf
treec79dfd80ed8da7f3ea474176272b5b43bd794341
parent47b8e527448c94d09fc8dbdb6601ea7a605ff955
spl_mmc: return error from mmc_load_image_{raw, fat} rather than hanging

So we can instead fallback to doing something else on errors.

Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
common/spl/spl_mmc.c