* [PATCH] serial: mxs auart: Set Linux console name
@ 2020-05-07 7:19 Sascha Hauer
0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2020-05-07 7:19 UTC (permalink / raw)
To: Barebox List
The MXS AUART is in the kernel known as "ttyAPP". Set the Linux console
name to make automatic setting of the console= Kernel parameter work.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/serial/serial_auart.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/serial/serial_auart.c b/drivers/serial/serial_auart.c
index 05cc757970..ee64f2f8db 100644
--- a/drivers/serial/serial_auart.c
+++ b/drivers/serial/serial_auart.c
@@ -193,6 +193,7 @@ static int auart_serial_probe(struct device_d *dev)
cdev->flush = auart_serial_flush;
cdev->setbrg = auart_serial_setbaudrate;
cdev->dev = dev;
+ cdev->linux_console_name = "ttyAPP";
dev->priv = priv;
iores = dev_request_mem_resource(dev, 0);
--
2.26.2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-07 7:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07 7:19 [PATCH] serial: mxs auart: Set Linux console name Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox