[PATCH] board/imx6sabresd: add the option of imx6solo during FIT matching

jiladahe1997 at gmail.com jiladahe1997 at gmail.com
Mon Aug 30 14:48:32 CEST 2021


From 934d43a647bfee33f32f710500c75ef2490f25f6 Mon Sep 17 00:00:00 2001
From: Mingrui Ren <jiladahe1997 at 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 at 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



More information about the U-Boot mailing list