summaryrefslogtreecommitdiff
path: root/configs
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 /configs
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 'configs')
-rw-r--r--configs/colibri_vf_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/colibri_vf_defconfig b/configs/colibri_vf_defconfig
index 63f2006085..2f5bf1bfa7 100644
--- a/configs/colibri_vf_defconfig
+++ b/configs/colibri_vf_defconfig
@@ -10,6 +10,8 @@ CONFIG_NR_DRAM_BANKS=1
CONFIG_TARGET_COLIBRI_VF=y
CONFIG_ENV_VARS_UBOOT_CONFIG=y
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/colibri_vf/imximage.cfg,IMX_NAND"
+CONFIG_USE_PREBOOT=y
+CONFIG_PREBOOT="setenv fdtfile ${soc}-colibri-${fdt_board}.dtb"
CONFIG_BOOTDELAY=1
CONFIG_LOGLEVEL=3
CONFIG_VERSION_VARIABLE=y