]> git.baikalelectronics.ru Git - uboot.git/commitdiff
colibri-imx8x: Remove baudrate from console argument
authorPhilippe Schenker <philippe.schenker@toradex.com>
Fri, 3 Mar 2023 13:26:27 +0000 (14:26 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 30 Mar 2023 08:47:30 +0000 (10:47 +0200)
This commit does remove the options argument from the console
kernel-argument as it prevents the serial driver from outputting
anything.

Do this by switchting to use the variable "setup" as it is done on other
Toradex modules.

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
include/configs/colibri-imx8x.h

index 3ec36aa773eeb1848e61e554241a4321b7842636..b337ef28533a76893957c6b229e1a3f9c908423f 100644 (file)
@@ -64,7 +64,7 @@
        MEM_LAYOUT_ENV_SETTINGS \
        "boot_file=Image\0" \
        "boot_script_dhcp=boot.scr\0" \
-       "consoleargs=console=ttyLP3,${baudrate} earlycon\0" \
+       "console=ttyLP3\0" \
        "fdt_addr=0x83000000\0" \
        "fdt_file=fsl-imx8qxp-colibri-dsihdmi-eval-v3.dtb\0" \
        "fdtfile=fsl-imx8qxp-colibri-dsihdmi-eval-v3.dtb\0" \
@@ -77,6 +77,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 " \