Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1585878 > unrolled thread

[PATCH v2 3/8] tty: serial: 8250_pxa: Implement mmp earlycon

Started byAndreas Färber <afaerber@suse.de>
First post2017-02-22 03:40 +0100
Last post2017-02-22 03:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 3/8] tty: serial: 8250_pxa: Implement mmp earlycon Andreas Färber <afaerber@suse.de> - 2017-02-22 03:40 +0100

#1585878 — [PATCH v2 3/8] tty: serial: 8250_pxa: Implement mmp earlycon

FromAndreas Färber <afaerber@suse.de>
Date2017-02-22 03:40 +0100
Subject[PATCH v2 3/8] tty: serial: 8250_pxa: Implement mmp earlycon
Message-ID<tdv0u-2Z7-5@gated-at.bofh.it>
There is an early_pxa earlycon available for "mrvl,pxa-uart", but
mmp2.dtsi and soon iap140.dtsi have only "mrvl,mmp-uart". The binding
does not mandate to have the fallback, so add a second earlycon for this
alternative compatible string.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 Note: early_pxa is not documented in kernel-parameters.txt, so not adding
       mmp either for now.
 
 Should early_pxa be renamed to / accompanied by pxa before it gets documented?
 An early_ prefix seems uncommon and redundant, thus not adopting here for mmp.
 
 v2: new
 
 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 4d68731..26ffa04 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.10.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web