mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH master] serial: ns16550: add missing Linux console names
@ 2026-05-19  5:33 Ahmad Fatoum
  2026-05-19 14:35 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2026-05-19  5:33 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH master] serial: ns16550: add missing Linux console names
  2026-05-19  5:33 [PATCH master] serial: ns16550: add missing Linux console names Ahmad Fatoum
@ 2026-05-19 14:35 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2026-05-19 14:35 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum


On Tue, 19 May 2026 07:33:48 +0200, Ahmad Fatoum wrote:
> 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
> 
> [...]

Applied, thanks!

[1/1] serial: ns16550: add missing Linux console names
      https://git.pengutronix.de/cgit/barebox/commit/?id=7e2981532bb3 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-19 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-19  5:33 [PATCH master] serial: ns16550: add missing Linux console names Ahmad Fatoum
2026-05-19 14:35 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox