diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2021-11-15 16:16:51 +0100 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2021-11-15 16:33:55 +0100 |
commit | f9267cb4f57a5cc71def1e9b22a14794d5884443 (patch) | |
tree | a46169a61af5aef80374ba5fc0eebab3dce69346 /configs/colibri-imx6ull-emmc_defconfig | |
parent | fa475deaebeafbf86f7572c839719c7f598d1484 (diff) |
configs: tdx: Do not overwrite fdtfile if it got set manually
In case a customer wants to set fdtfile currently preboot overrides it
always with preboot just before the bootdelay. Use test -n to check
if fdtfile is already set and only set it if nothing got touched manually
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'configs/colibri-imx6ull-emmc_defconfig')
-rw-r--r-- | configs/colibri-imx6ull-emmc_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/colibri-imx6ull-emmc_defconfig b/configs/colibri-imx6ull-emmc_defconfig index e6ab91459a..90e555e6b1 100644 --- a/configs/colibri-imx6ull-emmc_defconfig +++ b/configs/colibri-imx6ull-emmc_defconfig @@ -14,7 +14,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/colibri-imx6ull/imximage.cfg, CONFIG_BOOTDELAY=1 # CONFIG_USE_BOOTCOMMAND is not set CONFIG_USE_PREBOOT=y -CONFIG_PREBOOT="setenv fdtfile imx6ull-colibri${variant}-${fdt_board}.dtb" +CONFIG_PREBOOT="test -n ${fdtfile} || setenv fdtfile imx6ull-colibri${variant}-${fdt_board}.dtb" CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_VERSION_VARIABLE=y # CONFIG_DISPLAY_BOARDINFO is not set |