]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
tty: serial: sh-sci: Hide earlycon config question
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 30 Nov 2017 13:12:00 +0000 (14:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Dec 2017 19:24:14 +0000 (20:24 +0100)
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@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig

index 0c75562d620feb826e4e061538fac9303c94660b..952a2c6a9da08fdd288ea6fa59ce02059095dd70 100644 (file)
@@ -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"