On 2015-10-20 06:55, Peter Hurley wrote: > Earlycon support for Freescale lpuart should only be enabled when > console support is enabled. Fully agree, thanks for the patch Acked-by: Stefan Agner <stefan@xxxxxxxx> > > Fixes: 1d59b382f1c4 ("serial: fsl_lpuart: add earlycon support") > Cc: Stefan Agner <stefan@xxxxxxxx> > Signed-off-by: Peter Hurley <peter@xxxxxxxxxxxxxxxxxx> > --- > drivers/tty/serial/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig > index 1aec440..f38beb2 100644 > --- a/drivers/tty/serial/Kconfig > +++ b/drivers/tty/serial/Kconfig > @@ -1539,7 +1539,6 @@ config SERIAL_FSL_LPUART > tristate "Freescale lpuart serial port support" > depends on HAS_DMA > select SERIAL_CORE > - select SERIAL_EARLYCON > help > Support for the on-chip lpuart on some Freescale SOCs. > > @@ -1547,6 +1546,7 @@ config SERIAL_FSL_LPUART_CONSOLE > bool "Console on Freescale lpuart serial port" > depends on SERIAL_FSL_LPUART=y > select SERIAL_CORE_CONSOLE > + select SERIAL_EARLYCON > help > If you have enabled the lpuart serial port on the Freescale SoCs, > you can make it the console by answering Y to this option. -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html