Re: [PATCH 3/5] tty: serial: sh-sci: Hide earlycon config question

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

 



On Thu, Nov 30, 2017 at 02:12:00PM +0100, Geert Uytterhoeven wrote:
> Renesas H8/300 and ARM platforms use DT and support earlycon, so most
> users want earlycon support to be enabled.
> 
> On SuperH platforms, earlycon is not yet supported.
> 
> Hence follow the above rationale to configure the default, unless
> CONFIG_EXPERT is enabled.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> ---
>  drivers/tty/serial/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
> index 0c75562d620feb82..952a2c6a9da08fdd 100644
> --- a/drivers/tty/serial/Kconfig
> +++ b/drivers/tty/serial/Kconfig
> @@ -774,10 +774,11 @@ config SERIAL_SH_SCI_CONSOLE
>  	default y
>  
>  config SERIAL_SH_SCI_EARLYCON
> -	bool "Support for early console on SuperH SCI(F)"
> +	bool "Support for early console on SuperH SCI(F)" if EXPERT
>  	depends on SERIAL_SH_SCI=y
>  	select SERIAL_CORE_CONSOLE
>  	select SERIAL_EARLYCON
> +	default ARCH_RENESAS || H8300
>  
>  config SERIAL_SH_SCI_DMA
>  	bool "DMA support"
> -- 

Can you clarify what the claim that SuperH does not support earlycon
is based on? My understanding is that users were successfully using
this option on Renesas SH systems, and I'm using it on J2 with the
uartlite earlycon support which I added in 7cdcc29e49. I think if you
want to omit the question it should always default to enabled.

Rich
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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