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

Greg Kroah-Hartman greg at kroah.com
Sat Dec 12 22:06:43 PST 2015


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 <timur at codeaurora.org>
> ---
> 
> 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



More information about the linux-arm-kernel mailing list