]> git.baikalelectronics.ru Git - kernel.git/commit
serial: altera_jtaguart: add earlycon support
authorTobias Klauser <tklauser@distanz.ch>
Tue, 14 Mar 2017 13:11:25 +0000 (14:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2017 05:14:00 +0000 (14:14 +0900)
commitdc24b72a737508194cf5549b750a9f26bd8926a4
treefc0cc813fd3cddb48474be8735a64a3e08fe76f3
parent9e9587fe1a9e2ab29d9e66ecfbe0f55585c02759
serial: altera_jtaguart: add earlycon support

Nios2 currently uses its own early printk implementation, rather than
using unified earlycon support to show boot messages on altera_jtaguart
(and altera_uart for that matter).

Add earlycon support to altera_jtaguart so that other archs may use it. Also,
this will allow the early printk implementation in arch/nios2 to eventually be
removed in a future patch.

Cc: Ley Foon Tan <lftan@altera.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig
drivers/tty/serial/altera_jtaguart.c