Commit bec8bf61 authored by Peter Hurley's avatar Peter Hurley Committed by Greg Kroah-Hartman

serial: fsl_lpuart: Fix earlycon support

Earlycon support for Freescale lpuart should only be enabled when
console support is enabled.

Fixes: 1d59b382 ("serial: fsl_lpuart: add earlycon support")
Acked-by: default avatarStefan Agner <stefan@agner.ch>
Signed-off-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 83f7fa6c
...@@ -1539,7 +1539,6 @@ config SERIAL_FSL_LPUART ...@@ -1539,7 +1539,6 @@ config SERIAL_FSL_LPUART
tristate "Freescale lpuart serial port support" tristate "Freescale lpuart serial port support"
depends on HAS_DMA depends on HAS_DMA
select SERIAL_CORE select SERIAL_CORE
select SERIAL_EARLYCON
help help
Support for the on-chip lpuart on some Freescale SOCs. Support for the on-chip lpuart on some Freescale SOCs.
...@@ -1547,6 +1546,7 @@ config SERIAL_FSL_LPUART_CONSOLE ...@@ -1547,6 +1546,7 @@ config SERIAL_FSL_LPUART_CONSOLE
bool "Console on Freescale lpuart serial port" bool "Console on Freescale lpuart serial port"
depends on SERIAL_FSL_LPUART=y depends on SERIAL_FSL_LPUART=y
select SERIAL_CORE_CONSOLE select SERIAL_CORE_CONSOLE
select SERIAL_EARLYCON
help help
If you have enabled the lpuart serial port on the Freescale SoCs, If you have enabled the lpuart serial port on the Freescale SoCs,
you can make it the console by answering Y to this option. you can make it the console by answering Y to this option.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment