summaryrefslogtreecommitdiff
path: root/include/configs/colibri_vf.h
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2020-09-11 07:49:06 +0300
committerIgor Opaniuk <igor.opaniuk@toradex.com>2020-09-11 07:49:06 +0300
commit20795182793a92176946aede33402adc783ae50a (patch)
treeface95cc1877dea3f1ae435a420b155c25350fb7 /include/configs/colibri_vf.h
parent3889c95f78fdb17ef2d7495d32522c07d7ca581d (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. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Diffstat (limited to 'include/configs/colibri_vf.h')
-rw-r--r--include/configs/colibri_vf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 012350d9bf..8c1e0de05a 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -80,8 +80,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) \