summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Drozdov <denys.drozdov@toradex.com>2021-07-27 18:18:23 +0300
committerDenys Drozdov <denys.drozdov@toradex.com>2021-07-27 18:51:47 +0300
commitf499632b31f88dbd313fe9f742e2019c56032558 (patch)
treec25d55437ccae567080b9e0bc4017b907ee6d645 /include
parentb24e0f7e724b13782d8c06dfd0d0c41f602ee592 (diff)
apalis-imx8: construct fdtfile dynamically
The following expression is used to construct the device tree name: fdtfile=${soc}-apalis${variant}-${fdt_board}.dtb - soc is set dynamically (either imx8qp or imx8qm), - variant is set dynamically (either empty or -v1.1), - fdt_board can be modified by the user (eval or ixora) Related-to: ELB-3338 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/apalis-imx8.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/configs/apalis-imx8.h b/include/configs/apalis-imx8.h
index 8894c90c4b7..9cc7c493ce3 100644
--- a/include/configs/apalis-imx8.h
+++ b/include/configs/apalis-imx8.h
@@ -82,11 +82,6 @@
#define AHAB_ENV "sec_boot=no\0"
#endif
-#define FDT_FILE_IMX8QP "imx8qp-apalis-v1.1-eval.dtb"
-#define FDT_FILE_IMX8QM "imx8qm-apalis-v1.1-eval.dtb"
-#define FDT_FILE_IMX8QM_V1_0 "imx8qm-apalis-eval.dtb"
-
-
#if defined(CONFIG_TDX_EASY_INSTALLER)
# define BOOT_SCRIPT "boot-tezi.scr"
#else
@@ -106,7 +101,7 @@
"console=ttyLP1 earlycon\0" \
"fdt_high=\0" \
"boot_fdt=try\0" \
- "fdtfile=" FDT_FILE_IMX8QM "\0" \
+ "fdt_board=eval\0" \
"finduuid=part uuid mmc ${mmcdev}:2 uuid\0" \
"hdp_file=hdmitxfw.bin\0" \
"loadhdp=${load_cmd} ${hdp_addr} ${hdp_file}\0" \