All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: imx_v6_v7_defconfig: Enable SERIAL_IMX_EARLYCON
@ 2020-09-21 10:47 Dong Aisheng
  2020-09-21 10:47 ` [PATCH 2/2] ARM: multi_v7_defconfig: " Dong Aisheng
  0 siblings, 1 reply; 3+ messages in thread
From: Dong Aisheng @ 2020-09-21 10:47 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: fabio.estevam, aisheng.dong, shawnguo, linux-imx, kernel

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(+)

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
-- 
2.23.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] ARM: multi_v7_defconfig: Enable SERIAL_IMX_EARLYCON
  2020-09-21 10:47 [PATCH 1/2] ARM: imx_v6_v7_defconfig: Enable SERIAL_IMX_EARLYCON Dong Aisheng
@ 2020-09-21 10:47 ` Dong Aisheng
  2020-09-21 12:05   ` Lucas Stach
  0 siblings, 1 reply; 3+ messages in thread
From: Dong Aisheng @ 2020-09-21 10:47 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: fabio.estevam, aisheng.dong, shawnguo, linux-imx, kernel

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/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
-- 
2.23.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] ARM: multi_v7_defconfig: Enable SERIAL_IMX_EARLYCON
  2020-09-21 10:47 ` [PATCH 2/2] ARM: multi_v7_defconfig: " Dong Aisheng
@ 2020-09-21 12:05   ` Lucas Stach
  0 siblings, 0 replies; 3+ messages in thread
From: Lucas Stach @ 2020-09-21 12:05 UTC (permalink / raw)
  To: Dong Aisheng, linux-arm-kernel; +Cc: fabio.estevam, shawnguo, linux-imx, kernel

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-21 12:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-21 10:47 [PATCH 1/2] ARM: imx_v6_v7_defconfig: Enable SERIAL_IMX_EARLYCON Dong Aisheng
2020-09-21 10:47 ` [PATCH 2/2] ARM: multi_v7_defconfig: " Dong Aisheng
2020-09-21 12:05   ` Lucas Stach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.