Allow barebox compute a suitable earlycon parameter. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- drivers/serial/serial_lpuart.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/serial/serial_lpuart.c b/drivers/serial/serial_lpuart.c index b1a5d60b41c3..720018c9acba 100644 --- a/drivers/serial/serial_lpuart.c +++ b/drivers/serial/serial_lpuart.c @@ -160,6 +160,8 @@ static int lpuart_serial_probe(struct device_d *dev) } cdev->linux_console_name = "ttyLP"; + cdev->linux_earlycon_name = "lpuart"; + cdev->phys_base = lpuart->base; lpuart_setup(lpuart->base, clk_get_rate(lpuart->clk)); -- 2.30.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox