RE: [EXT] [PATCH v3] tty: serial: imx: enable earlycon by default if IMX_SERIAL_CONSOLE is enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Lucas Stach <l.stach@xxxxxxxxxxxxxx> Sent: Friday, November 6, 2020 4:40 AM
> Since 699cc4dfd140 (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: 699cc4dfd140 (tty: serial: imx: add imx earlycon driver)
> Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
> Reviewed-by: Fabio Estevam <festevam@xxxxxxxxx>
> ---
> v2: add R-b from Fabio, fix typo in subject
> v3: no changes, adding this note

Reviewed-by: Fugang Duan <fugang.duan@xxxxxxx>
> ---
>  drivers/tty/serial/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index
> 1044fc387691..28f22e58639c 100644
> --- a/drivers/tty/serial/Kconfig
> +++ b/drivers/tty/serial/Kconfig
> @@ -522,6 +522,7 @@ config SERIAL_IMX_EARLYCON
>         depends on OF
>         select SERIAL_EARLYCON
>         select SERIAL_CORE_CONSOLE
> +       default y if SERIAL_IMX_CONSOLE
>         help
>           If you have enabled the earlycon on the Freescale IMX
>           CPU you can make it the earlycon by answering Y to this option.
> --
> 2.20.1





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux