aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorMarcel Ziswiler2023-01-16 20:04:56 +0100
committerStefano Babic2023-01-30 20:59:09 +0100
commitfe7b2b322ec49ab3c78494054f15e23ad5256fc9 (patch)
tree1fad16d4b6ac88948c6120dc1e0538018b047f3f /configs
parent6629e1590495a476c05ce113c2b1f9e3e0b11da3 (diff)
apalis-imx8: implement pcb version and soc variant handling
Implement PCB version and SoC variant handling which automatically loads the correct device tree for the Linux kernel. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Reviewed-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'configs')
-rw-r--r--configs/apalis-imx8_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/apalis-imx8_defconfig b/configs/apalis-imx8_defconfig
index 395202bc29f..de33b25cefa 100644
--- a/configs/apalis-imx8_defconfig
+++ b/configs/apalis-imx8_defconfig
@@ -19,6 +19,8 @@ CONFIG_REMAKE_ELF=y
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_OF_SYSTEM_SETUP=y
+CONFIG_USE_PREBOOT=y
+CONFIG_PREBOOT="test -n ${fdtfile} || setenv fdtfile ${soc}-apalis${variant}-${fdt_board}.dtb"
CONFIG_LOG=y
# CONFIG_DISPLAY_BOARDINFO is not set
CONFIG_DISPLAY_BOARDINFO_LATE=y