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

Eddie Huang eddie.huang at mediatek.com
Mon Jan 12 17:05:29 PST 2015


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:
> > On Monday 12 January 2015 21:08:21 Eddie Huang wrote:
> > > 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 at 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 





More information about the linux-arm-kernel mailing list