Thread (8 messages) 8 messages, 3 authors, 2015-11-07
STALE3895d

[PATCH] tty: amba-pl011: add options to earlycon for 32-bit reg access

From: Timur Tabi <hidden>
Date: 2015-11-06 02:00:27
Also in: linux-serial

Peter Hurley wrote:
Perhaps I wasn't clear enough in my previous comments regarding this
approach; I see no benefit to re-using the pl011 earlycon definition.
Just define a completely new earlycon for sbsa32 (and zte):

EARLYCON_DECLARE(sbsa32, sbsa32_early_console_setup);

Example:
	earlycon=sbsa32,0x3ced1000
Sounds like six of one, half-dozen of another.  But I'm happy to modify 
my patch accordingly.  It will avoid the strcmp, but I'm not sure it 
will reduce the actual number of lines of code.

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, hosted by The Linux Foundation.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help