public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: sbabic@denx.de
Cc: u-boot@lists.denx.de, francois.perrad@gadz.org,
	baruch@tkos.co.il, pbrobinson@gmail.com, vagrant@debian.org,
	ricardo@foundries.io, Fabio Estevam <festevam@gmail.com>
Subject: [PATCH 2/2] mx6cuboxi: Fix the console variable
Date: Mon, 19 Jul 2021 17:15:14 -0300	[thread overview]
Message-ID: <20210719201514.3795683-2-festevam@gmail.com> (raw)
In-Reply-To: <20210719201514.3795683-1-festevam@gmail.com>

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 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h
index 1a06f29b8c17..9e5083b0d876 100644
--- a/include/configs/mx6cuboxi.h
+++ b/include/configs/mx6cuboxi.h
@@ -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" \
-- 
2.25.1


  reply	other threads:[~2021-07-19 20:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-19 20:15 [PATCH 1/2] mx6cuboxi: Fix the mmc device for the rootfs Fabio Estevam
2021-07-19 20:15 ` Fabio Estevam [this message]
2021-07-19 20:44   ` [PATCH 2/2] mx6cuboxi: Fix the console variable Peter Robinson
2021-07-19 20:29 ` [PATCH 1/2] mx6cuboxi: Fix the mmc device for the rootfs Peter Robinson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210719201514.3795683-2-festevam@gmail.com \
    --to=festevam@gmail.com \
    --cc=baruch@tkos.co.il \
    --cc=francois.perrad@gadz.org \
    --cc=pbrobinson@gmail.com \
    --cc=ricardo@foundries.io \
    --cc=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    --cc=vagrant@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox