diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-11-02 11:20:41 +0200 |
---|---|---|
committer | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-11-02 11:21:06 +0200 |
commit | a7e0c37902e314ae2636c75cee9f525787c5a45c (patch) | |
tree | 030231b28890616000ca146db52bdfcf6470b380 /configs/verdin-imx8mm_defconfig | |
parent | 3d6a3c3b084105014d8c6b8a101e955ce19b1295 (diff) |
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>
Diffstat (limited to 'configs/verdin-imx8mm_defconfig')
-rw-r--r-- | configs/verdin-imx8mm_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/verdin-imx8mm_defconfig b/configs/verdin-imx8mm_defconfig index 4f1266ed6f..a55c5c1ed6 100644 --- a/configs/verdin-imx8mm_defconfig +++ b/configs/verdin-imx8mm_defconfig @@ -16,6 +16,8 @@ CONFIG_DM_GPIO=y CONFIG_TARGET_VERDIN_IMX8MM=y CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y +CONFIG_USE_PREBOOT=y +CONFIG_PREBOOT="setenv fdtfile imx8mm-verdin-${variant}-${fdt_board}.dtb" CONFIG_SPL_DRIVERS_MISC_SUPPORT=y CONFIG_NR_DRAM_BANKS=1 CONFIG_SPL=y |