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 <philippe.schenker@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
This commit is contained in:
Philippe Schenker 2022-04-08 10:07:08 +02:00 committed by Stefano Babic
parent c1e6576162
commit 885dcc36af

View File

@ -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
/*