Skip to content
Snippets Groups Projects
Commit 7d2b4e77 authored by Guillaume GARDET's avatar Guillaume GARDET Committed by Tom Rini
Browse files

spl: do not hang in spl_register_fat_device but return error value. It allows...

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: default avatarGuillaume GARDET <guillaume.gardet@free.fr>
Cc: Tom Rini <trini@ti.com>
parent fae81c72
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ static int spl_register_fat_device(block_dev_desc_t *block_dev, int partition)
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
printf("%s: fat register err - %d\n", __func__, err);
#endif
hang();
return err;
}
fat_registered = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment