Thread (20 messages) 20 messages, 5 authors, 2015-02-02

[PATCH v2 1/4] tty: serial: Add 8250 earlycon to support noinit option

From: eddie.huang@mediatek.com (Eddie Huang)
Date: 2015-01-13 01:05:29
Also in: linux-devicetree, linux-serial

Hi Arnd,

On Mon, 2015-01-12 at 16:08 +0000, Alan Cox wrote:
On Mon, 2015-01-12 at 16:35 +0100, Arnd Bergmann wrote:
quoted
On Monday 12 January 2015 21:08:21 Eddie Huang wrote:
quoted
Add earlycon support not only baudrate option, but also add noinit option.
If use noinit option, 8250 earlycon will not init serial hardware and use
loader setting.

Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
I probably missed something in the previous discussion, but why is
"noinit" not just the default? I believe that is how we handle early
serial ports on PowerPC, and I see no downsides to it.
Most PC hardware at least needs the port initialised to use it. It won't
have been configured by the firmware in many cases.
Sorry no continue discuss in previous series. Since other 8250 user may
already depend on current init behavior, I think it's better to keep it
and add noinit by extra setting.

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