diff options
author | Andrejs Cainikovs <andrejs.cainikovs@toradex.com> | 2021-08-16 10:03:53 +0200 |
---|---|---|
committer | Andrejs Cainikovs <andrejs.cainikovs@toradex.com> | 2023-03-07 16:25:53 +0100 |
commit | 5027b999843fcd6e55df76d6436d3d771cb3a6d8 (patch) | |
tree | b141a3fc24655e4056aa610dc2aab6c9cf3d5c22 /configs | |
parent | 2cfe1f256d8343067d61227c36ac0dd81eeb587f (diff) |
colibri-imx8x: construct fdtfile dynamically
The following expression is used to construct the device tree name:
fdtfile=${soc}-colibri-${fdt_board}.dtb
- soc is set dynamically (either imx8qxp or imx8dx)
- fdt_board can be modified by the user (eval-v3, aster, iris/iris-v2)
Upstream-Status: Submitted [https://lore.kernel.org/all/20230303132642.15574-9-andrejs.cainikovs@toradex.com/]
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/colibri-imx8x_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/colibri-imx8x_defconfig b/configs/colibri-imx8x_defconfig index ab65bca311..99e28605ab 100644 --- a/configs/colibri-imx8x_defconfig +++ b/configs/colibri-imx8x_defconfig @@ -17,6 +17,8 @@ CONFIG_SYS_LOAD_ADDR=0x80280000 CONFIG_FIT=y CONFIG_FIT_VERBOSE=y CONFIG_OF_SYSTEM_SETUP=y +CONFIG_USE_PREBOOT=y +CONFIG_PREBOOT="test -n ${fdtfile} || setenv fdtfile ${soc}-colibri-${fdt_board}.dtb" CONFIG_LOG=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y |