diff mbox series

[v1,02/17] colibri-imx8x: Remove baudrate from console argument

Message ID 20230303132642.15574-3-andrejs.cainikovs@toradex.com
State Accepted
Commit e861622c57054bd886f5b6137abab99a83ac0c53
Delegated to: Stefano Babic
Headers show
Series colibri-imx8x: support refresh | expand

Commit Message

Andrejs Cainikovs March 3, 2023, 1:26 p.m. UTC
From: Philippe Schenker <philippe.schenker@toradex.com>

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 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Stefano Babic March 30, 2023, 11:42 a.m. UTC | #1
> From: Philippe Schenker <philippe.schenker@toradex.com>
> 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>
Applied to u-boot-imx, next, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/include/configs/colibri-imx8x.h b/include/configs/colibri-imx8x.h
index 3ec36aa773e..b337ef28533 100644
--- a/include/configs/colibri-imx8x.h
+++ b/include/configs/colibri-imx8x.h
@@ -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 " \