u-boot-brain/common/spl
Guillaume GARDET 86a0df7328 spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS
Since commit fd61d39970b9901217efc7536d9f3a61b4e1752a:
        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: Guillaume GARDET <guillaume.gardet@free.fr>
Cc: Tom Rini <trini@konsulko.com>
Cc: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Paul Kocialkowski <contact@paulk.fr>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Matwey V. Kornilov <matwey.kornilov@gmail.com>
Acked-by: Nikita Kiryanov <nikita@compulab.co.il>
2016-02-19 09:31:37 -05:00
..
Makefile spl: Add EXT support to SPL 2014-10-27 17:54:03 -04:00
spl_ext.c spl: mmc: remove #ifdef CONFIG_SPL_OS_BOOT check 2015-11-18 14:50:00 -05:00
spl_fat.c spl: mmc: remove #ifdef CONFIG_SPL_OS_BOOT check 2015-11-18 14:50:00 -05:00
spl_mmc.c spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS 2016-02-19 09:31:37 -05:00
spl_nand.c spl: change return values of spl_*_load_image() 2015-11-18 14:50:02 -05:00
spl_net.c spl: change return values of spl_*_load_image() 2015-11-18 14:50:02 -05:00
spl_nor.c spl: change return values of spl_*_load_image() 2015-11-18 14:50:02 -05:00
spl_onenand.c spl: change return values of spl_*_load_image() 2015-11-18 14:50:02 -05:00
spl_sata.c spl: change return values of spl_*_load_image() 2015-11-18 14:50:02 -05:00
spl_usb.c spl: change return values of spl_*_load_image() 2015-11-18 14:50:02 -05:00
spl_ymodem.c spl: change return values of spl_*_load_image() 2015-11-18 14:50:02 -05:00
spl.c arm: move gd handling outside of C code 2016-01-13 21:05:18 -05:00