All of lore.kernel.org
 help / color / mirror / Atom feed
From: "jiladahe1997@gmail.com" <jiladahe1997@gmail.com>
To: u-boot <u-boot@lists.denx.de>
Cc: abel.vesa <abel.vesa@nxp.com>, sjg <sjg@chromium.org>,
	 peng.fan <peng.fan@nxp.com>
Subject: [PATCH] board/imx6sabresd: add the option of imx6solo during FIT matching
Date: Mon, 30 Aug 2021 20:48:32 +0800	[thread overview]
Message-ID: <2021083020482890433610@gmail.com> (raw)

From 934d43a647bfee33f32f710500c75ef2490f25f6 Mon Sep 17 00:00:00 2001
From: Mingrui Ren <jiladahe1997@gmail.com>
Date: Mon, 30 Aug 2021 20:35:11 +0800
Subject: [PATCH] board/imx6sabresd: add imx6solo during FIT matching

When using imx6solo cpu, the 'board_fit_config_name_match' function 
will return -1, then u-boot will choose wrong FIT, and causing further 
problems.

imx6solo is similar to imx6dl, so I just add it into imx6dl.

Signed-off-by: Mingrui Ren <jiladahe1997@gmail.com>
---
 board/freescale/mx6sabresd/mx6sabresd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c
index 8c35230855..0bd968411e 100644
--- a/board/freescale/mx6sabresd/mx6sabresd.c
+++ b/board/freescale/mx6sabresd/mx6sabresd.c
@@ -928,7 +928,7 @@ int board_fit_config_name_match(const char *name)
 	} else if (is_mx6dqp()) {
 		if (!strcmp(name, "imx6qp-sabresd"))
 			return 0;
-	} else if (is_mx6dl()) {
+	} else if (is_mx6dl() || is_mx6solo()) {
 		if (!strcmp(name, "imx6dl-sabresd"))
 			return 0;
 	}
-- 
2.25.1


             reply	other threads:[~2021-08-30 13:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-30 12:48 jiladahe1997 [this message]
2021-08-30 14:14 ` [PATCH] board/imx6sabresd: add the option of imx6solo during FIT matching Fabio Estevam
2021-08-31  2:06   ` Mingrui Ren
2021-08-31  2:17     ` Fabio Estevam

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=2021083020482890433610@gmail.com \
    --to=jiladahe1997@gmail.com \
    --cc=abel.vesa@nxp.com \
    --cc=peng.fan@nxp.com \
    --cc=sjg@chromium.org \
    --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.