History

serial: fsl_lpuart: Fix earlycon support

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

Peter Hurley committed 11 years ago

Commit bec8bf61 parent 83f7fa61 file · +1 −1Browse files

Unified · Split

drivers/tty/serial/Kconfig+1−1
@@ -1539,7 +1539,6 @@ config SERIAL_FSL_LPUART · 1538 unmodified lines
1539 tristate "Freescale lpuart serial port support"1539 tristate "Freescale lpuart serial port support"
1540 depends on HAS_DMA1540 depends on HAS_DMA
1541 select SERIAL_CORE1541 select SERIAL_CORE
1542 select SERIAL_EARLYCON
1543 help1542 help
1544 Support for the on-chip lpuart on some Freescale SOCs.1543 Support for the on-chip lpuart on some Freescale SOCs.
1545 1544
@@ -1547,6 +1546,7 @@ config SERIAL_FSL_LPUART_CONSOLE · 1 unmodified line
1547 bool "Console on Freescale lpuart serial port"1546 bool "Console on Freescale lpuart serial port"
1548 depends on SERIAL_FSL_LPUART=y1547 depends on SERIAL_FSL_LPUART=y
1549 select SERIAL_CORE_CONSOLE1548 select SERIAL_CORE_CONSOLE
1549 select SERIAL_EARLYCON
1550 help1550 help
1551 If you have enabled the lpuart serial port on the Freescale SoCs,1551 If you have enabled the lpuart serial port on the Freescale SoCs,
1552 you can make it the console by answering Y to this option.1552 you can make it the console by answering Y to this option.