Skip to contentSkip to conversation

serial: MMIO32 support for 8250_early.c

PATCH New [email protected] 1 participant 1 message Jul 20, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 5/7 serial: MMIO32 support for 8250_early.c

From: Samium Gromoff <[email protected]>

Provide MMIO32 support in 8250_early (aka earlycon)

[[email protected]: fix printk format warnings]
[[email protected]: fix printk args some more]
Cc Greg KH <[email protected]>
Cc KOSAKI Motohiro <[email protected]>

---

 Documentation/kernel-parameters.txt |    3 +
 drivers/serial/8250_early.c         |   57 +++++++++++++++++++-------
 2 files changed, 45 insertions(+), 15 deletions(-)
Documentation/kernel-parameters.txt renamed from Documentation/kernel-parameters.txt~serial-mmio32-support-for-8250_earlyc +3 -0
diff -puN Documentation/kernel-parameters.txt~serial-mmio32-support-for-8250_earlyc Documentation/kernel-parameters.txt
@@ -657,8 +657,11 @@ and is between 256 and 4096 characters. 
 	earlycon=	[KNL] Output early console device and options.
 		uart[8250],io,<addr>[,options]
 		uart[8250],mmio,<addr>[,options]
+		uart[8250],mmio32,<addr>[,options]
 			Start an early, polled-mode console on the 8250/16550
 			UART at the specified I/O port or MMIO address.
+			MMIO inter-register address stride is either 8bit (mmio)
+                        or 32bit (mmio32).
 			The options are the same as for ttyS, above.
 
 	earlyprintk=	[X86,SH,BLACKFIN]
drivers/serial/8250_early.c renamed from drivers/serial/8250_early.c~serial-mmio32-support-for-8250_earlyc +42 -15

106 lines not on this page · raw message

_