33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From 210337a85f95f0c7f3411bd0028c325818a23839 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Duje=20Mihanovi=C4=87?= <duje.mihanovic@skole.hr>
|
|
Date: Fri, 21 Jul 2023 22:37:43 +0200
|
|
Subject: [PATCH] tty: serial: 8250: Define earlycon for mrvl,mmp-uart
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
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>
|
|
---
|
|
drivers/tty/serial/8250/8250_pxa.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/tty/serial/8250/8250_pxa.c b/drivers/tty/serial/8250/8250_pxa.c
|
|
index 28b341f602c6..a5b3ea27fc90 100644
|
|
--- a/drivers/tty/serial/8250/8250_pxa.c
|
|
+++ b/drivers/tty/serial/8250/8250_pxa.c
|
|
@@ -183,6 +183,7 @@ static int __init early_serial_pxa_setup(struct earlycon_device *device,
|
|
return early_serial8250_setup(device, NULL);
|
|
}
|
|
OF_EARLYCON_DECLARE(early_pxa, "mrvl,pxa-uart", early_serial_pxa_setup);
|
|
+OF_EARLYCON_DECLARE(mmp, "mrvl,mmp-uart", early_serial_pxa_setup);
|
|
#endif
|
|
|
|
MODULE_AUTHOR("Sergei Ianovich");
|
|
--
|
|
2.41.0
|
|
|