From: Philippe Schenker Date: Fri, 8 Apr 2022 08:07:08 +0000 (+0200) Subject: board: colibri-imx6ull: Do not leave variant variable unset X-Git-Tag: v2025.01-rc5-pxa1908~1458^2~46 X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%24image.RelPermalink%20%7D%7D?a=commitdiff_plain;h=885dcc36afe80f5d0e56ee540787fee5102ac601;p=u-boot.git board: colibri-imx6ull: Do not leave variant variable unset 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 --- diff --git a/board/toradex/colibri-imx6ull/colibri-imx6ull.c b/board/toradex/colibri-imx6ull/colibri-imx6ull.c index 02ab5889b9..3244184f27 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 /*