Skip to content

Commit bec8bf6

Browse files
peterhurleygregkh
authored andcommitted
serial: fsl_lpuart: Fix earlycon support
Earlycon support for Freescale lpuart should only be enabled when console support is enabled. Fixes: 1d59b38 ("serial: fsl_lpuart: add earlycon support") Acked-by: Stefan Agner <[email protected]> Signed-off-by: Peter Hurley <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 83f7fa6 commit bec8bf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1539,14 +1539,14 @@ config SERIAL_FSL_LPUART
15391539
tristate "Freescale lpuart serial port support"
15401540
depends on HAS_DMA
15411541
select SERIAL_CORE
1542-
select SERIAL_EARLYCON
15431542
help
15441543
Support for the on-chip lpuart on some Freescale SOCs.
15451544

15461545
config SERIAL_FSL_LPUART_CONSOLE
15471546
bool "Console on Freescale lpuart serial port"
15481547
depends on SERIAL_FSL_LPUART=y
15491548
select SERIAL_CORE_CONSOLE
1549+
select SERIAL_EARLYCON
15501550
help
15511551
If you have enabled the lpuart serial port on the Freescale SoCs,
15521552
you can make it the console by answering Y to this option.

0 commit comments

Comments
 (0)