Commit 86a0df73 authored by Guillaume GARDET's avatar Guillaume GARDET Committed by Tom Rini

spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS

Since commit fd61d399:
        spl: mmc: add break statements in spl_mmc_load_image()
RAW and FS boot modes are now exclusive again. So, if MMCSD_MODE_RAW fails, the
board hangs. This patch allows to try MMCSD_MODE_FS then.

It has been tested on a beaglebone black to boot on an EXT partition.
Signed-off-by: 's avatarGuillaume GARDET <>
Cc: Tom Rini <>
Cc: Nikita Kiryanov <>
Cc: Igor Grinberg <>
Cc: Paul Kocialkowski <>
Cc: Pantelis Antoniou <>
Cc: Simon Glass <>
Cc: Matwey V. Kornilov <>
Acked-by: 's avatarNikita Kiryanov <>
parent cf432dd5
......@@ -284,7 +284,7 @@ int spl_mmc_load_image(u32 boot_device)
if (!err)
return err;
/* If RAW mode fails, try FS mode. */
debug("spl: mmc boot mode: fs\n");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment