Thread (7 messages) 7 messages, 3 authors, 2015-12-17
STALE3834d

[PATCH] tty: amba-pl011: add support for 32-bit register access for earlycon

From: Greg Kroah-Hartman <hidden>
Date: 2015-12-13 06:06:43
Also in: linux-serial

On Fri, Nov 06, 2015 at 06:18:23PM -0600, Timur Tabi wrote:
Add support the "mmio32" earlycon option for the pl011 device.  If
specified in the earlycon parameter, all reads/writes to pl011 registers
during early console will use 32-bit accessors.  Normally the function
uses 8-bit writes.

Normal console uses the "access_32b" field of the vendor data structure
to determine whether the registers needs 32-bit accessors.  Early console
is used before the vendor data is available, so we need a different
mechanism to choose the accessor.

Example:

	earlycon=pl011,mmio32,0x3ced1000

Signed-off-by: Timur Tabi <redacted>
---

This patch applies on top of Russell's 12-part amba-pl011.c patchset.
Which I didn't apply, so can you resend this after he resends his?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help