Allow barebox compute a suitable earlycon parameter. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- drivers/serial/atmel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/serial/atmel.c b/drivers/serial/atmel.c index f83835da9ab7..9e20754998e9 100644 --- a/drivers/serial/atmel.c +++ b/drivers/serial/atmel.c @@ -427,11 +427,14 @@ static int atmel_serial_probe(struct device_d *dev) cdev->setbrg = atmel_serial_setbaudrate; cdev->set_mode = atmel_serial_set_mode; cdev->linux_console_name = "ttyAT"; + cdev->linux_earlycon_name = "atmel_serial"; ret = atmel_serial_init_port(cdev); if (ret) return ret; + cdev->phys_base = uart->base; + /* Enable UART */ console_register(cdev); -- 2.30.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox