summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-06-15 18:02:21 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-06-15 18:44:05 +0300
commitdeea775d00fa69970eabfaafc8f9ce95a636bc1f (patch)
tree16a65c2a666b29b14c4d6ac63dffec2afd24816f
parent0bf8570e4bfa9402fcb73a8677ef45721d19e286 (diff)
toradex: imx8: remove global variable script
The distroboot script system scans boot_scripts variable and try to find and use to boot each script name mentioned there. Setting global variable "script" breaks this general mechanism of searching and running a distro boot script. Remove global variables "script" to fix working the general distro boot script mechanism. Related-to: TEI-791 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-rw-r--r--include/configs/apalis-imx8.h1
-rw-r--r--include/configs/apalis-imx8x.h1
-rw-r--r--include/configs/colibri-imx8x.h1
3 files changed, 0 insertions, 3 deletions
diff --git a/include/configs/apalis-imx8.h b/include/configs/apalis-imx8.h
index 41b67d7a53..688856ce5f 100644
--- a/include/configs/apalis-imx8.h
+++ b/include/configs/apalis-imx8.h
@@ -93,7 +93,6 @@
MEM_LAYOUT_ENV_SETTINGS \
"boot_script_dhcp=boot.scr\0" \
"bootcmd_mfg=select_dt_from_module_version && fastboot 0\0" \
- "script=boot.scr\0" \
"boot_file=Image\0" \
"console=ttyLP1 earlycon\0" \
"fdt_high=\0" \
diff --git a/include/configs/apalis-imx8x.h b/include/configs/apalis-imx8x.h
index c420df9db9..376cd14bab 100644
--- a/include/configs/apalis-imx8x.h
+++ b/include/configs/apalis-imx8x.h
@@ -95,7 +95,6 @@
"mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
"mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \
"panel=NULL\0" \
- "script=boot.scr\0" \
"setup=run mmcargs\0" \
"update_uboot=askenv confirm Did you load u-boot-dtb.imx (y/N)?; " \
"if test \"$confirm\" = \"y\"; then " \
diff --git a/include/configs/colibri-imx8x.h b/include/configs/colibri-imx8x.h
index d6855dd785..720e70e1cc 100644
--- a/include/configs/colibri-imx8x.h
+++ b/include/configs/colibri-imx8x.h
@@ -92,7 +92,6 @@
"mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
"mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \
"panel=NULL\0" \
- "script=boot.scr\0" \
"setup=run mmcargs\0" \
"update_uboot=askenv confirm Did you load u-boot-dtb.imx (y/N)?; " \
"if test \"$confirm\" = \"y\"; then " \