mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 12:44:23 +08: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
@ -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 New Issue
Block a user