Skip to content

Commit

Permalink
mx6cuboxi: Fix the console variable
Browse files Browse the repository at this point in the history
Do not pass the console baudrate to the 'console' variable
to avoid the baudrate being passed twice when extlinux.conf
contains the standard: console=${console},${baudrate} format.

cat /proc/cmdline
root=PARTUUID=00000000-01 rootwait rw console=ttymxc0,115200,115200

Signed-off-by: Fabio Estevam <[email protected]>
  • Loading branch information
fabioestevam authored and sbabic committed Aug 9, 2021
1 parent 22e9e0d commit 5d236df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/configs/mx6cuboxi.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
/* Command definition */

#define CONFIG_MXC_UART_BASE UART1_BASE
#define CONSOLE_DEV "ttymxc0"

#ifndef CONFIG_SPL_BUILD
#define CONFIG_EXTRA_ENV_SETTINGS \
Expand All @@ -54,7 +53,7 @@
"ramdiskaddr=0x13000000\0" \
"initrd_high=0xffffffff\0" \
"ip_dyn=yes\0" \
"console=" CONSOLE_DEV ",115200\0" \
"console=ttymxc0\0" \
"bootm_size=0x10000000\0" \
"mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
"finduuid=part uuid mmc 1:1 uuid\0" \
Expand Down

0 comments on commit 5d236df

Please sign in to comment.