aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorAndrejs Cainikovs <andrejs.cainikovs@gmail.com>2023-03-03 14:26:33 +0100
committerStefano Babic <sbabic@denx.de>2023-03-30 10:50:29 +0200
commitde666551b304dec47ed2029e12c7e5d97bf61010 (patch)
treeeaeab14c19fd3f6cf9532b62466fa07889b97cd0 /configs
parent18fff32ba202811195a813e44d91d9eb668c6d9f (diff)
downloadu-boot-de666551b304dec47ed2029e12c7e5d97bf61010.zip
u-boot-de666551b304dec47ed2029e12c7e5d97bf61010.tar.gz
u-boot-de666551b304dec47ed2029e12c7e5d97bf61010.tar.bz2
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) Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/colibri-imx8x_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/colibri-imx8x_defconfig b/configs/colibri-imx8x_defconfig
index e1d375c..24ccaa9 100644
--- a/configs/colibri-imx8x_defconfig
+++ b/configs/colibri-imx8x_defconfig
@@ -20,6 +20,8 @@ CONFIG_FIT=y
CONFIG_FIT_EXTERNAL_OFFSET=0x3000
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_DISTRO_DEFAULTS=y
CONFIG_LOG=y
# CONFIG_DISPLAY_BOARDINFO is not set