serial: amba-pl011: set linux_console_name
PATCH 1/1 serial: amba-pl011: set linux_console_name
We set the linux_console_name so for this uart the linux.bootargs.console will be properly set.
Signed-off-by Michael Grzeschik <[email protected]>
--- drivers/serial/amba-pl011.c | 1 + 1 file changed, 1 insertion(+)
drivers/serial/amba-pl011.c +1 -0
@@ -204,6 +204,7 @@ static int pl011_probe(struct amba_device *dev, const struct amba_id *id) cdev->putc = pl011_putc; cdev->getc = pl011_getc; cdev->setbrg = pl011_setbaudrate; + cdev->linux_console_name ="ttyAMA" ;pl011_init_port (cdev);
Signature · 7 lines
2.26.2 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 7 lines · Michael Grzeschik
We set the
linux_console_nameso for this uart the linux.bootargs.console will be properly set.Signed-off-by Michael Grzeschik <[email protected]>--- drivers/serial/amba-pl011.c | 1 + 1 file changed, 1 insertion(+)
Applied, thanks
Sascha
Quoted 22 lines
drivers/serial/amba-pl011.c +1
-0@@ -204,6 +204,7 @@ static int pl011_probe(struct amba_device *dev, const struct amba_id *id) cdev->putc = pl011_putc; cdev->getc = pl011_getc; cdev->setbrg = pl011_setbaudrate; + cdev->linux_console_name ="ttyAMA" ;pl011_init_port (cdev);Signature · 7 lines
2.26.2 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox