From: KuanLim.Lee <kuanlim.lee@starfivetech.com>
To: "u-boot@lists.denx.de" <u-boot@lists.denx.de>
Cc: Cheehong Ang <cheehong.ang@starfivetech.com>,
WeiLiang Lim <weiliang.lim@starfivetech.com>
Subject: RE: [PATCH] spl: mmc: Resolve emmc not load image after switched hw partition
Date: Tue, 17 Oct 2023 04:53:40 +0000 [thread overview]
Message-ID: <34eb71bbf47348e1b8916a80cbd03cc0@EXMBX066.cuchost.com> (raw)
In-Reply-To: <20231003041720.893-1-kuanlim.lee@starfivetech.com>
Hi maintainers,
Could anyone of you help to review the patch?
> -----Original Message-----
> From: KuanLim.Lee <kuanlim.lee@starfivetech.com>
> Sent: Tuesday, October 3, 2023 12:17 PM
> To: u-boot@lists.denx.de
> Cc: Cheehong Ang <cheehong.ang@starfivetech.com>; WeiLiang Lim
> <weiliang.lim@starfivetech.com>; KuanLim.Lee
> <kuanlim.lee@starfivetech.com>
> Subject: [PATCH] spl: mmc: Resolve emmc not load image after switched hw
> partition
>
> When selecting MMCSD_MODE_EMMCBOOT as boot_mode, emmc do not
> load U-boot proper image after switched hardware partition.
>
> Signed-off-by: Kuan Lim Lee <kuanlim.lee@starfivetech.com>
> Reviewed-by: Chee Hong Ang <cheehong.ang@starfivetech.com>
> Reviewed-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
> ---
> common/spl/spl_mmc.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c index
> 20f687e138..dc8a45222b 100644
> --- a/common/spl/spl_mmc.c
> +++ b/common/spl/spl_mmc.c
> @@ -447,6 +447,9 @@ int spl_mmc_load(struct spl_image_info *spl_image,
> #endif
> return err;
> }
> + err = mmc_load_image_raw_sector(spl_image, bootdev, mmc,
> 0);
> + if (!err)
> + return err;
> /* Fall through */
> case MMCSD_MODE_RAW:
> debug("spl: mmc boot mode: raw\n");
> --
> 2.34.1
next prev parent reply other threads:[~2023-10-17 4:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20231031050430epcas1p2ce44601cc5a47f0a768ebbfd837798a6@epcas1p2.samsung.com>
2023-10-03 4:16 ` [PATCH] spl: mmc: Resolve emmc not load image after switched hw partition Kuan Lim Lee
2023-10-10 8:14 ` KuanLim.Lee
2023-10-17 4:53 ` KuanLim.Lee [this message]
2023-10-18 4:51 ` Lothar Waßmann
2023-10-18 5:27 ` Sean Anderson
2023-10-18 6:20 ` KuanLim.Lee
2023-10-18 7:17 ` KuanLim.Lee
2023-10-31 5:04 ` Jaehoon Chung
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=34eb71bbf47348e1b8916a80cbd03cc0@EXMBX066.cuchost.com \
--to=kuanlim.lee@starfivetech.com \
--cc=cheehong.ang@starfivetech.com \
--cc=u-boot@lists.denx.de \
--cc=weiliang.lim@starfivetech.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox