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 | 1539 | tristate "Freescale lpuart serial port support" |
| 1540 | 1540 | depends on HAS_DMA |
| 1541 | 1541 | select SERIAL_CORE |
| 1542 | − select SERIAL_EARLYCON | |
| 1543 | 1542 | help |
| 1544 | 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 | 1546 | bool "Console on Freescale lpuart serial port" |
| 1548 | 1547 | depends on SERIAL_FSL_LPUART=y |
| 1549 | 1548 | select SERIAL_CORE_CONSOLE |
| 1549 | + select SERIAL_EARLYCON | |
| 1550 | 1550 | help |
| 1551 | 1551 | If you have enabled the lpuart serial port on the Freescale SoCs, |
| 1552 | 1552 | you can make it the console by answering Y to this option. |