diff options
author | Yoshinori Sato <ysato@users.sourceforge.jp> | 2015-12-24 11:24:48 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-06 22:51:04 -0800 |
commit | 0b0cced19ab15c9ebbfbc6c4c0d932863e18fbe5 (patch) | |
tree | f04f4a59acf845a275841ad4cc1d7db9c940c92a /drivers/tty/serial/Kconfig | |
parent | 8178a89eb89e025868992aff32ab78503ec5fa1e (diff) | |
download | op-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/Kconfig | 6 |
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 |