mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
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:
parent
c1e6576162
commit
885dcc36af
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue