Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0FAB0C433F5 for ; Fri, 8 Apr 2022 08:09:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8518A83DCA; Fri, 8 Apr 2022 10:08:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 2780983DB9; Fri, 8 Apr 2022 10:08:05 +0200 (CEST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.196]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 59E1383DB2 for ; Fri, 8 Apr 2022 10:07:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=marcel@ziswiler.com Received: from toolbox.int.toradex.com ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MZC05-1nXyPy1gif-00VBIQ; Fri, 08 Apr 2022 10:07:47 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Cc: Philippe Schenker , Marcel Ziswiler Subject: [PATCH v1 13/24] board: colibri-imx6ull: Do not leave variant variable unset Date: Fri, 8 Apr 2022 10:07:08 +0200 Message-Id: <20220408080719.342072-14-marcel@ziswiler.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220408080719.342072-1-marcel@ziswiler.com> References: <20220408080719.342072-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:rSSs1tp95+uceO3PoZhE0DsiuifMwpoldyOXxXwcMgaQYi1fory 1rMcCv9+o7zrL/5MDxnCJreRq2GKy/LC9HTHn5Risd3WcIerxKABS8UC0SMWy0j3GgPZmRE O4QF0zSw2a6GZIPPvUB260CWlK89iVuNcI15s5jAIXJ22FLOpklqKskDj+3eYTfcY4y3kzu GUPFYp9UaJxKWuUcCjZPw== X-UI-Out-Filterresults: notjunk:1;V03:K0:ffMFAbtyxTg=:qaGtt1UXPDfGuYDxohiJsz WD79MHi9VNd9GUna9FzuCGfd82zT/BHcaWlbQjAhADqGj+tIg7p9bgFXo0qhoOGmcHV7atqtm ubabd4p9HcSX7wSWvzylvXLwh3DqvxswfGYimsE0dxJw9yivsVemySO3XzutzGmzO/HPN1wyW 71y4/Mga2sNpu/Js+AdLrLgofkKq/6Wmv6rXy5Q0ffDMzmpQBq1DxqeLond27PAnMsiNdEts6 lnC2+69eb59C2bD/8I7U3EJNNpvrx/eiEvO+XM/wJ+nNaos0G13F24juvVwCOj1Mr+tZfsKs0 EKuOMxisA0qhiE32o4tugPVEpaTRl1y1uFJ+ocZg2cdG/f/z2xnlEI2Ua4hIq8WIUgtDyzC4z Ab3A2wcS7N2g+23YFtt+vqUL8oIhhJb6Jb9uB5Ut6z+6cqnjR4HllATIoHg/fDXwXNhFPuh9o 2AX7sy6TaB4DqwsvJVWx4+fqUCO+J9+7hjTfKKmB2E85gBIq8ttrBpa9TpcBkeVy1uR7berGs qyGxvoZYXCQ2jStiqyu56FteBkvGDuJh3mwzOSDg5CALl+BFAzO5GdObnBpNzxVsi0w6VrU3k 6X3PhA07CB9RgYzonzj9BH8qCtUuk3qBETnjf87OfqlrQ/N+5HPawbkc15biSrjqftD9kuhth 0T/ki4zOt1U2t4SPwh55IV3Kb1OnMLCNbcxazbd0JBPJfgRWZLLxuByaj2Fgujh5t3mY= X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean From: Philippe Schenker Toradex uses the variable variant to distinguish between modules with eMMC, NAND with wifi and NAND without wifi. This variable is set on every boot. Set this variable also if we have a NAND module without wifi to prevent issues. Signed-off-by: Philippe Schenker Signed-off-by: Marcel Ziswiler --- board/toradex/colibri-imx6ull/colibri-imx6ull.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/board/toradex/colibri-imx6ull/colibri-imx6ull.c b/board/toradex/colibri-imx6ull/colibri-imx6ull.c index 02ab5889b9a..3244184f272 100644 --- a/board/toradex/colibri-imx6ull/colibri-imx6ull.c +++ b/board/toradex/colibri-imx6ull/colibri-imx6ull.c @@ -172,10 +172,14 @@ int board_late_init(void) } else { if (is_emmc) env_set("variant", "-emmc"); + else + env_set("variant", ""); } #else if (is_emmc) env_set("variant", "-emmc"); + else + env_set("variant", ""); #endif /* -- 2.34.1