diff mbox series

[1/2] ARM: imx_v6_v7_defconfig: Enable SERIAL_IMX_EARLYCON

Message ID 20200921104726.5430-1-aisheng.dong@nxp.com
State New
Headers show
Series [1/2] ARM: imx_v6_v7_defconfig: Enable SERIAL_IMX_EARLYCON | expand

Commit Message

Dong Aisheng Sept. 21, 2020, 10:47 a.m. UTC
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.

Fixes: commit 699cc4dfd140 ("tty: serial: imx: add imx earlycon driver")
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
---
 arch/arm/configs/imx_v6_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Lucas Stach Sept. 21, 2020, 12:05 p.m. UTC | #1
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@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
diff mbox series

Patch

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index 0fa79bd00219..0cafed8c4cdd 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -189,6 +189,7 @@  CONFIG_SERIO_SERPORT=m
 # CONFIG_LEGACY_PTYS is not set
 CONFIG_SERIAL_IMX=y
 CONFIG_SERIAL_IMX_CONSOLE=y
+CONFIG_SERIAL_IMX_EARLYCON=y
 CONFIG_SERIAL_FSL_LPUART=y
 CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
 CONFIG_SERIAL_DEV_BUS=y