[RFC WIP PATCH v1 7/7] wandboard: in SPL use only D1 DTB

Heiko Schocher hs at denx.de
Tue Jan 14 07:13:14 CET 2020


Signed-off-by: Heiko Schocher <hs at denx.de>
---

 board/wandboard/wandboard.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c
index ae4ad765a83..6b7210c0992 100644
--- a/board/wandboard/wandboard.c
+++ b/board/wandboard/wandboard.c
@@ -489,7 +489,12 @@ int board_fit_config_name_match(const char *name)
 			return 0;
 	}
 
+#if defined(CONFIG_SPL_BUILD)
+	/* in SPL we use only revision D1 DTB */
+	if (1) {
+#else
 	if (is_revd1()) {
+#endif
 		if (is_mx6dq()) {
 			if (!strcmp(name, "imx6q-wandboard-revd1"))
 				return 0;
-- 
2.24.1



More information about the U-Boot mailing list