summaryrefslogtreecommitdiff
path: root/include/configs/apalis_imx6.h
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-06-13 15:55:54 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-06-14 22:45:24 +0300
commit37c76eba5867072eee43a7ba448bfdaad08bbf9d (patch)
tree4c25fdd1d4faf789a7c6356949966461b00a9be4 /include/configs/apalis_imx6.h
parenta0ab8a668eea6aeae4b97d32d342d47a9c88efaa (diff)
toradex: enable using another distro boot script for TEZI
The distro boot script for TEZI has another name to prevent u-boot of regular BSP trying to boot TEZI image. Expand the usage of TDX_EASY_INSTALLER Kconfig option to seek and use the TEZI-specific name of the script. Related-to: TEI-791 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'include/configs/apalis_imx6.h')
-rw-r--r--include/configs/apalis_imx6.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
index 0cbab6de76..d77b8ab506 100644
--- a/include/configs/apalis_imx6.h
+++ b/include/configs/apalis_imx6.h
@@ -131,9 +131,17 @@
#else
#define FDT_FILE "imx6q-apalis_v1_0-eval.dtb"
#endif
+
+#if defined(CONFIG_TDX_EASY_INSTALLER)
+# define BOOT_SCRIPT "boot-tezi.scr"
+#else
+# define BOOT_SCRIPT "boot.scr"
+#endif
+
#define CONFIG_EXTRA_ENV_SETTINGS \
BOOTENV \
- "boot_script_dhcp=boot.scr\0" \
+ "boot_scripts=" BOOT_SCRIPT "\0" \
+ "boot_script_dhcp=" BOOT_SCRIPT "\0" \
"bootcmd=run distro_bootcmd ; " \
"usb start ; " \
"setenv stdout serial,vidconsole; " \