]> 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)
commita1439015d9b89bf39ee8e1c8f10d6639ebd6222f
treefc0cc813fd3cddb48474be8735a64a3e08fe76f3
parentfb7aaf189df293b3318b0e6e018684f0c55b7bc1
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