mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <>
Subject: [PATCH] ARM: i.MX7/8M: Fix boot source detection on i.MX8MP
Date: Fri, 10 Jun 2022 09:11:43 +0200	[thread overview]
Message-ID: <> (raw)

On i.MX8MP the indicator for serial boot is 14, which is different from
the value found for i.MX8MM. So consider 14 as serial boot, too and
document the machines where the respective values are found.

Signed-off-by: Uwe Kleine-König <>
 arch/arm/mach-imx/boot.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/mach-imx/boot.c b/arch/arm/mach-imx/boot.c
index 652e2869f2d7..d12acb0715f6 100644
--- a/arch/arm/mach-imx/boot.c
+++ b/arch/arm/mach-imx/boot.c
@@ -522,7 +522,8 @@ static void __imx7_get_boot_source(enum bootsource *src, int *instance,
 	case 5:
-	case 15:
+	case 14: /* observed on i.MX8MP for USB "serial" booting */
+	case 15: /* observed on i.MX8MM for USB "serial" booting */

base-commit: 6a3f9ed1f5c55957b2ed4f460955281539e8e785
prerequisite-patch-id: b42dc9f4cc168071380985b52b581c1a1298f303

barebox mailing list

             reply	other threads:[~2022-06-10  7:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10  7:11 Uwe Kleine-König [this message]
2022-06-10  7:51 ` Sascha Hauer

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \
    --subject='Re: [PATCH] ARM: i.MX7/8M: Fix boot source detection on i.MX8MP' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox