From: Guillaume Gardet <guillaume.gardet@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available
Date: Tue, 02 Dec 2014 09:35:05 +0100 [thread overview]
Message-ID: <547D79B9.9040800@free.fr> (raw)
In-Reply-To: <1416303886-20589-1-git-send-email-guillaume.gardet@free.fr>
Ping.
Just a friendly reminder.
Guillaume
Le 18/11/2014 10:44, Guillaume GARDET a ?crit :
> In SPL MMC, boot modes are exclusive. So, if MMCSD_MODE_RAW fails, the board hangs. This patch allows to
> try MMCSD_MODE_FS then, if available.
>
> It has been tested on a pandaboard (rev. A3).
>
> Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
> Cc: Tom Rini <trini@ti.com>
> ---
> common/spl/spl_mmc.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
> index ee71f79..2c34b75 100644
> --- a/common/spl/spl_mmc.c
> +++ b/common/spl/spl_mmc.c
> @@ -101,7 +101,8 @@ void spl_mmc_load_image(void)
> err = mmc_load_image_raw(mmc,
> CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR);
> #if defined(CONFIG_SPL_FAT_SUPPORT) || defined(CONFIG_SPL_EXT_SUPPORT)
> - } else if (boot_mode == MMCSD_MODE_FS) {
> + }
> + if (err || boot_mode == MMCSD_MODE_FS) {
> debug("boot mode - FS\n");
> #ifdef CONFIG_SPL_FAT_SUPPORT
> #ifdef CONFIG_SPL_OS_BOOT
next prev parent reply other threads:[~2014-12-02 8:35 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-18 9:44 [U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available Guillaume GARDET
2014-12-02 8:35 ` Guillaume Gardet [this message]
2014-12-08 21:41 ` [U-Boot] " Tom Rini
2014-12-12 21:49 ` [U-Boot] [PATCH] " Robert Nelson
2014-12-15 8:43 ` Guillaume Gardet
2014-12-15 9:01 ` Guillaume Gardet
2014-12-16 11:03 ` Guillaume Gardet
-- strict thread matches above, loose matches on Subject: below --
2016-02-16 18:27 [U-Boot] Beaglebone Black broken since commit fd61d39970b9901217efc7536d9f3a61b4e1752a Guillaume Gardet
2016-02-17 8:09 ` [U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available Guillaume GARDET
2016-02-17 20:27 ` Tom Rini
2016-02-18 9:19 ` Nikita Kiryanov
2016-02-18 10:06 ` Guillaume Gardet
2016-02-18 13:07 ` Nikita Kiryanov
2016-02-18 13:31 ` Guillaume Gardet
2016-02-18 14:25 ` Nikita Kiryanov
2016-02-18 14:36 ` Tom Rini
2016-02-18 16:07 ` Nikita Kiryanov
2016-02-18 16:11 ` Guillaume Gardet
2016-02-18 16:38 ` Nikita Kiryanov
2016-02-18 16:42 ` Guillaume Gardet
2016-02-18 17:04 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=547D79B9.9040800@free.fr \
--to=guillaume.gardet@free.fr \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.