spl: do not hang in spl_register_fat_device but return error value. It allows to...
authorGuillaume GARDET <guillaume.gardet@free.fr>
Wed, 15 Oct 2014 15:53:14 +0000 (17:53 +0200)
committerTom Rini <trini@ti.com>
Mon, 27 Oct 2014 21:54:08 +0000 (17:54 -0400)
commit7d2b4e772998d8efb7266a33d93bccc1afe70462
treed5fb1fd8495dd931752a0170457991a946987e10
parentfae81c72c80636be657a24d42eb80971cb0e5793
spl: do not hang in spl_register_fat_device but return error value. It allows to use both CONFIG_SPL_FAT_SUPPORT and CONFIG_SPL_EXT_SUPPORT.

Do not hang in spl_register_fat_device but return an error value.
It allows to use both CONFIG_SPL_FAT_SUPPORT and CONFIG_SPL_EXT_SUPPORT.
If FAT load fails, then EXT load is tried.

Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
Cc: Tom Rini <trini@ti.com>
common/spl/spl_fat.c