diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2022-04-13 11:33:31 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-04-21 12:44:23 +0200 |
commit | dbc5633963d0739682efa6eef9341775b70e3fda (patch) | |
tree | b6cb5135f112c23d36683c2850ce02b96a6fb429 /configs/colibri_vf_defconfig | |
parent | dfaa71bc4becb52a9ff8c1663eaea0a19208aaf1 (diff) | |
download | u-boot-dbc5633963d0739682efa6eef9341775b70e3fda.tar.gz |
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>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'configs/colibri_vf_defconfig')
-rw-r--r-- | configs/colibri_vf_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/colibri_vf_defconfig b/configs/colibri_vf_defconfig index 8ce6e2b9b08..c5f4322923b 100644 --- a/configs/colibri_vf_defconfig +++ b/configs/colibri_vf_defconfig @@ -20,7 +20,7 @@ CONFIG_BOOTDELAY=1 CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="run ubiboot || run distro_bootcmd;" CONFIG_USE_PREBOOT=y -CONFIG_PREBOOT="setenv fdtfile ${soc}-colibri-${fdt_board}.dtb" +CONFIG_PREBOOT="test -n ${fdtfile} || setenv fdtfile ${soc}-colibri-${fdt_board}.dtb" CONFIG_LOGLEVEL=3 # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y |