tty: serial: 8250: Define earlycon for mrvl,mmp-uart
mrvl,pxa-uart already supports earlycon and both compatible strings use the same driver, so there's no reason for mmp-uart to not have earlycon as well. Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr> Link: https://lore.kernel.org/r/20230721210042.21535-2-duje.mihanovic@skole.hr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6d71ded272
commit
67b7a397b2
@ -183,6 +183,7 @@ static int __init early_serial_pxa_setup(struct earlycon_device *device,
|
|||||||
return early_serial8250_setup(device, NULL);
|
return early_serial8250_setup(device, NULL);
|
||||||
}
|
}
|
||||||
OF_EARLYCON_DECLARE(early_pxa, "mrvl,pxa-uart", early_serial_pxa_setup);
|
OF_EARLYCON_DECLARE(early_pxa, "mrvl,pxa-uart", early_serial_pxa_setup);
|
||||||
|
OF_EARLYCON_DECLARE(mmp, "mrvl,mmp-uart", early_serial_pxa_setup);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MODULE_AUTHOR("Sergei Ianovich");
|
MODULE_AUTHOR("Sergei Ianovich");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user