Earlycon support for Freescale lpuart should only be enabled when console support is enabled.
Unified · Split
| @@ -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_DMA | 1540 | depends on HAS_DMA |
| 1541 | select SERIAL_CORE | 1541 | select SERIAL_CORE |
| 1542 | select SERIAL_EARLYCON | ||
| 1543 | help | 1542 | 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=y | 1547 | depends on SERIAL_FSL_LPUART=y |
| 1549 | select SERIAL_CORE_CONSOLE | 1548 | select SERIAL_CORE_CONSOLE |
| 1549 | select SERIAL_EARLYCON | ||
| 1550 | help | 1550 | 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. |