]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx6cuboxi: Fix the console variable
authorFabio Estevam <festevam@gmail.com>
Mon, 19 Jul 2021 20:15:14 +0000 (17:15 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 9 Aug 2021 11:09:29 +0000 (13:09 +0200)
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 <festevam@gmail.com>
include/configs/mx6cuboxi.h

index 1a06f29b8c1704c31d8674f6f7b763cb853ad3ea..9e5083b0d876e368a45f67057459f8f6e3e87125 100644 (file)
@@ -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 \
@@ -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" \