aboutsummaryrefslogtreecommitdiff
path: root/configs/verdin-imx8mm_defconfig
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2021-10-09 22:41:12 +0200
committerStefano Babic <sbabic@denx.de>2021-10-20 15:08:26 +0200
commite5505e9ebbc7172905e011513eab5933a97e4695 (patch)
tree03dfae2c04790c8f9b87be8fc8708363981b95bb /configs/verdin-imx8mm_defconfig
parent41d4b0029d4619ea827344b47a30d55a99c787f1 (diff)
downloadu-boot-e5505e9ebbc7172905e011513eab5933a97e4695.zip
u-boot-e5505e9ebbc7172905e011513eab5933a97e4695.tar.gz
u-boot-e5505e9ebbc7172905e011513eab5933a97e4695.tar.bz2
verdin-imx8mm: use preboot for fdtfile evaluation
Enable and set preboot var with fdtfile evaluation. It 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> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'configs/verdin-imx8mm_defconfig')
-rw-r--r--configs/verdin-imx8mm_defconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/verdin-imx8mm_defconfig b/configs/verdin-imx8mm_defconfig
index ced0d0a..ed14ff3 100644
--- a/configs/verdin-imx8mm_defconfig
+++ b/configs/verdin-imx8mm_defconfig
@@ -26,7 +26,8 @@ CONFIG_SPL_LOAD_FIT=y
# CONFIG_USE_SPL_FIT_GENERATOR is not set
CONFIG_OF_SYSTEM_SETUP=y
# CONFIG_USE_BOOTCOMMAND is not set
-CONFIG_DEFAULT_FDT_FILE="fsl-imx8mm-verdin-dev.dtb"
+CONFIG_USE_PREBOOT=y
+CONFIG_PREBOOT="setenv fdtfile imx8mm-verdin-${variant}-${fdt_board}.dtb"
CONFIG_LOG=y
# CONFIG_DISPLAY_BOARDINFO is not set
CONFIG_DISPLAY_BOARDINFO_LATE=y