[PATCH 2/2] ARM: multi_v7_defconfig: Enable SERIAL_IMX_EARLYCON

Lucas Stach l.stach at pengutronix.de
Mon Sep 21 08:05:25 EDT 2020


On Mo, 2020-09-21 at 18:47 +0800, Dong Aisheng wrote:
> Since commit 699cc4dfd140 ("tty: serial: imx: add imx earlycon driver"),
> earlycon on MX6/7 was occasionally disabled by default config option.
> Let's re-enable it.

Couldn't we instead add a "default y if SERIAL_IMX" to the
SERIAL_IMX_EARLYCON Kconfig option? This way also people migrating from
a old config will automatically get the earlycon driver enabled.

Regards,
Lucas

> Fixes: commit 699cc4dfd140 ("tty: serial: imx: add imx earlycon driver")
> Signed-off-by: Dong Aisheng <aisheng.dong at nxp.com>
> ---
>  arch/arm/configs/multi_v7_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
> index bfaa38c3e7fd..0a0b45f64866 100644
> --- a/arch/arm/configs/multi_v7_defconfig
> +++ b/arch/arm/configs/multi_v7_defconfig
> @@ -349,6 +349,7 @@ CONFIG_SERIAL_SIRFSOC_CONSOLE=y
>  CONFIG_SERIAL_TEGRA=y
>  CONFIG_SERIAL_IMX=y
>  CONFIG_SERIAL_IMX_CONSOLE=y
> +CONFIG_SERIAL_IMX_EARLYCON=y
>  CONFIG_SERIAL_SH_SCI=y
>  CONFIG_SERIAL_SH_SCI_NR_UARTS=20
>  CONFIG_SERIAL_MSM=y




More information about the linux-arm-kernel mailing list