The OMAP earlycon and the regular jz4740 console names were not populated, which meant barebox couldn't fix them up correctly.
For example on a Beagleplay, global.bootm.earlycon=1 caused: commandline: earlycon=<NULL>,mmio,0x2800000 console=ttyS2,115200n8 Populate the missing members to fix this. Signed-off-by: Ahmad Fatoum <[email protected]> --- drivers/serial/serial_ns16550.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c index 5f62334a0f8a..31e7c006d004 100644 --- a/drivers/serial/serial_ns16550.c +++ b/drivers/serial/serial_ns16550.c @@ -413,11 +413,13 @@ static __maybe_unused struct ns16550_drvdata omap_drvdata = { static __maybe_unused struct ns16550_drvdata omap_clk48m_drvdata = { .init_port = ns16550_omap_init_port, .linux_console_name = "ttyS", + .linux_earlycon_name = "uart8250", .clk_default = 48000000, }; static __maybe_unused struct ns16550_drvdata jz_drvdata = { .init_port = ns16550_jz_init_port, + .linux_console_name = "ttyS", .linux_earlycon_name = "jz4740_uart", }; -- 2.47.3
