]> git.baikalelectronics.ru Git - uboot.git/commitdiff
apalis/colibri-imx8/8x: remove global variable script
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>
Mon, 16 Jan 2023 19:05:02 +0000 (20:05 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 30 Jan 2023 19:59:09 +0000 (20:59 +0100)
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.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
include/configs/apalis-imx8.h
include/configs/colibri-imx8x.h

index a8b2b0774feac92b327e1761410bfa43c7a1c11f..df431261306ae1d72bfb2e7a0aa1fdbd4d38d4d5 100644 (file)
@@ -47,7 +47,6 @@
        "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
        "mmcpart=1\0" \
        "panel=NULL\0" \
-       "script=boot.scr\0" \
        "update_uboot=askenv confirm Did you load u-boot-dtb.imx (y/N)?; " \
                "if test \"$confirm\" = \"y\"; then " \
                "setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt " \
index 2de116c59da7f67c178f752ba585d9cb9fd9f7e9..3ec36aa773eeb1848e61e554241a4321b7842636 100644 (file)
@@ -77,7 +77,6 @@
        "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
        "mmcpart=1\0" \
        "panel=NULL\0" \
-       "script=boot.scr\0" \
        "update_uboot=askenv confirm Did you load u-boot-dtb.imx (y/N)?; " \
                "if test \"$confirm\" = \"y\"; then " \
                "setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt " \