Allow barebox compute a suitable console= and earlycon parameter. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- drivers/serial/serial_litex.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/serial/serial_litex.c b/drivers/serial/serial_litex.c index 3643427ef408..554fee71a3c4 100644 --- a/drivers/serial/serial_litex.c +++ b/drivers/serial/serial_litex.c @@ -74,6 +74,9 @@ static int litex_serial_probe(struct device_d *dev) cdev->putc = &litex_serial_putc; cdev->getc = &litex_serial_getc; cdev->setbrg = NULL; + cdev->linux_console_name = "ttyLXU"; + cdev->linux_earlycon_name = "liteuart"; + cdev->phys_base = IOMEM(iores->start); console_register(cdev); -- 2.30.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox