From mboxrd@z Thu Jan 1 00:00:00 1970 From: eddie.huang@mediatek.com (Eddie Huang) Date: Tue, 13 Jan 2015 09:05:29 +0800 Subject: [PATCH v2 1/4] tty: serial: Add 8250 earlycon to support noinit option In-Reply-To: <1421078918.31978.32.camel@linux.intel.com> References: <1421068104-30463-1-git-send-email-eddie.huang@mediatek.com> <1421068104-30463-2-git-send-email-eddie.huang@mediatek.com> <3712986.8SuKNvhKTk@wuerfel> <1421078918.31978.32.camel@linux.intel.com> Message-ID: <1421111129.10374.4.camel@mtksdaap41> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > > > > 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