]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
apalis-imx8: introduce setup setting setupargs
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Mon, 16 Jan 2023 19:05:06 +0000 (20:05 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 30 Jan 2023 20:02:27 +0000 (21:02 +0100)
Introduce setup setting setupargs and move earlycon there.

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

index df431261306ae1d72bfb2e7a0aa1fdbd4d38d4d5..4043a8c7d42355f39b394495522c693316b6e27e 100644 (file)
@@ -36,7 +36,7 @@
        MEM_LAYOUT_ENV_SETTINGS \
        "boot_file=Image\0" \
        "boot_script_dhcp=boot.scr\0" \
-       "console=ttyLP1 earlycon\0" \
+       "console=ttyLP1\0" \
        "fdt_addr=0x83000000\0" \
        "fdt_board=eval\0" \
        "finduuid=part uuid mmc ${mmcdev}:2 uuid\0" \
@@ -47,6 +47,8 @@
        "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
        "mmcpart=1\0" \
        "panel=NULL\0" \
+       "setup=setenv setupargs console=tty1 console=${console},${baudrate} " \
+               "consoleblank=0 earlycon\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 " \