Skip to content

Commit 427627a

Browse files
lynxeye-devgregkh
authored andcommitted
tty: serial: imx: enable earlycon by default if IMX_SERIAL_CONSOLE is enabled
Since 699cc4d (tty: serial: imx: add imx earlycon driver), the earlycon part of imx serial is a separate driver and isn't necessarily enabled anymore when the console is enabled. This causes users to loose the earlycon functionality when upgrading their kenrel configuration via oldconfig. Enable earlycon by default when IMX_SERIAL_CONSOLE is enabled. Fixes: 699cc4d (tty: serial: imx: add imx earlycon driver) Reviewed-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Link: https://lore.kernel.org/r/20201105204026.1818219-1-l.stach@pengutronix.de Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 912ab37 commit 427627a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/tty/serial/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,7 @@ config SERIAL_IMX_EARLYCON
522522
depends on OF
523523
select SERIAL_EARLYCON
524524
select SERIAL_CORE_CONSOLE
525+
default y if SERIAL_IMX_CONSOLE
525526
help
526527
If you have enabled the earlycon on the Freescale IMX
527528
CPU you can make it the earlycon by answering Y to this option.

0 commit comments

Comments
 (0)