diff options
author | Philippe Schenker | 2022-04-08 10:07:08 +0200 |
---|---|---|
committer | Stefano Babic | 2022-04-12 19:10:44 +0200 |
commit | 885dcc36afe80f5d0e56ee540787fee5102ac601 (patch) | |
tree | 0872e5e84cecc15475a0f2bf629a2f2e85555898 /board/toradex | |
parent | c1e6576162a8c360e41ce03f7b1364e408cae8f0 (diff) |
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>
Diffstat (limited to 'board/toradex')
-rw-r--r-- | board/toradex/colibri-imx6ull/colibri-imx6ull.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 /* |