[PATCH 14/27] serial: pxa: provide the Linux console name
Sascha Hauer <[email protected]>
| Newsgroups | org.infradead.lists.barebox |
|---|---|
| Message-ID | <[email protected]> |
Without linux_console_name console_set_stdoutpath() returns early and never creates global.linux.bootargs.console, so the console= option has to be passed to Linux manually. The PXA UARTs are ttyS in Linux. No linux_earlycon_name is set as the Linux PXA UART driver does not register an earlycon. Assisted-by: Claude Opus 5 Signed-off-by: Sascha Hauer <[email protected]> --- drivers/serial/serial_pxa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/serial/serial_pxa.c b/drivers/serial/serial_pxa.c index bc792d62a5..f2926bcd7a 100644 --- a/drivers/serial/serial_pxa.c +++ b/drivers/serial/serial_pxa.c @@ -181,6 +181,7 @@ static int pxa_serial_probe(struct device *dev) cdev->getc = pxa_serial_getc; cdev->flush = pxa_serial_flush; cdev->setbrg = pxa_serial_setbaudrate; + cdev->linux_console_name = "ttyS"; console_register(cdev); -- 2.47.3