From patchwork Tue Jan 14 06:13:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 239588 List-Id: U-Boot discussion From: hs at denx.de (Heiko Schocher) Date: Tue, 14 Jan 2020 07:13:14 +0100 Subject: [RFC WIP PATCH v1 7/7] wandboard: in SPL use only D1 DTB In-Reply-To: <20200114061314.148491-1-hs@denx.de> References: <20200114061314.148491-1-hs@denx.de> Message-ID: <20200114061314.148491-8-hs@denx.de> Signed-off-by: Heiko Schocher --- 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;