From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH master] serial: ns16550: add missing Linux console names
Date: Tue, 19 May 2026 07:33:48 +0200 [thread overview]
Message-ID: <20260519053350.4061870-1-a.fatoum@pengutronix.de> (raw)
The OMAP earlycon and the regular jz4740 console names were not
populated, which meant barebox couldn't fix them up correctly.
For example on a Beagleplay, global.bootm.earlycon=1 caused:
commandline: earlycon=<NULL>,mmio,0x2800000 console=ttyS2,115200n8
Populate the missing members to fix this.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
drivers/serial/serial_ns16550.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c
index 5f62334a0f8a..31e7c006d004 100644
--- a/drivers/serial/serial_ns16550.c
+++ b/drivers/serial/serial_ns16550.c
@@ -413,11 +413,13 @@ static __maybe_unused struct ns16550_drvdata omap_drvdata = {
static __maybe_unused struct ns16550_drvdata omap_clk48m_drvdata = {
.init_port = ns16550_omap_init_port,
.linux_console_name = "ttyS",
+ .linux_earlycon_name = "uart8250",
.clk_default = 48000000,
};
static __maybe_unused struct ns16550_drvdata jz_drvdata = {
.init_port = ns16550_jz_init_port,
+ .linux_console_name = "ttyS",
.linux_earlycon_name = "jz4740_uart",
};
--
2.47.3
next reply other threads:[~2026-05-19 5:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-19 5:33 Ahmad Fatoum [this message]
2026-05-19 14:35 ` Sascha Hauer
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=20260519053350.4061870-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.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