serial: sh-sci: Add CONFIG_SERIAL_EARLYCON support
authorYoshinori Sato <ysato@users.sourceforge.jp>
Thu, 24 Dec 2015 10:24:48 +0000 (11:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:51:04 +0000 (22:51 -0800)
commit0b0cced19ab15c9ebbfbc6c4c0d932863e18fbe5
treef04f4a59acf845a275841ad4cc1d7db9c940c92a
parent8178a89eb89e025868992aff32ab78503ec5fa1e
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>
drivers/tty/serial/Kconfig
drivers/tty/serial/sh-sci.c