diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-09-14 11:01:09 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-09-17 14:39:09 +0200 |
commit | 3ab2316a99cdf17d13102058f420edd990f6c7be (patch) | |
tree | 31d573d4cf08892576186073b18616a427f1b5e2 /include | |
parent | 2f310b7f480f4b7f805b148b78582e4900bd6e15 (diff) |
colibri_vf: use preboot for fdtfile evaluation
Enable and set preboot var with fdtfile evaluation.
preboot will be checked and run immediately before starting the
CONFIG_BOOTDELAY countdown and/or running the auto-boot command resp.
entering interactive mode.
This provides possibility to use different boot cmds in interactive mode
without manual setting fdtfile value, as it it's already evaluated
before entering interactive mode.
Fixes: 304042c1f3("colibri_vf: set fdtfile for distroboot")
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/colibri_vf.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index 86d4621f85..cae7c14bfb 100644 --- a/include/configs/colibri_vf.h +++ b/include/configs/colibri_vf.h @@ -76,8 +76,7 @@ "ubi read ${fdt_addr_r} dtb && " \ "run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \ -#define CONFIG_BOOTCOMMAND "run ubiboot; " \ - "setenv fdtfile ${soc}-colibri-${fdt_board}.dtb && run distro_bootcmd;" +#define CONFIG_BOOTCOMMAND "run ubiboot || run distro_bootcmd;" #define BOOT_TARGET_DEVICES(func) \ func(MMC, mmc, 0) \ |