summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/Kconfig
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2015-12-24 11:24:48 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-06 22:51:04 -0800
commit0b0cced19ab15c9ebbfbc6c4c0d932863e18fbe5 (patch)
treef04f4a59acf845a275841ad4cc1d7db9c940c92a /drivers/tty/serial/Kconfig
parent8178a89eb89e025868992aff32ab78503ec5fa1e (diff)
downloadop-kernel-dev-0b0cced19ab15c9ebbfbc6c4c0d932863e18fbe5.zip
op-kernel-dev-0b0cced19ab15c9ebbfbc6c4c0d932863e18fbe5.tar.gz
serial: sh-sci: Add CONFIG_SERIAL_EARLYCON support
"earlyprintk" is architecture specific option. General "earlycon" option support is much better. Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> [uli: preserve other SCSCR bits when asserting RE and TE] Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> [geert: rewording, #ifdef rework] Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r--drivers/tty/serial/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index e5c9250..54b6f2c 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -745,6 +745,12 @@ config SERIAL_SH_SCI_CONSOLE
depends on SERIAL_SH_SCI=y
select SERIAL_CORE_CONSOLE
+config SERIAL_SH_SCI_EARLYCON
+ bool "Support for early console on SuperH SCI(F)"
+ depends on SERIAL_SH_SCI=y
+ select SERIAL_CORE_CONSOLE
+ select SERIAL_EARLYCON
+
config SERIAL_SH_SCI_DMA
bool "DMA support"
depends on SERIAL_SH_SCI && DMA_ENGINE
OpenPOWER on IntegriCloud